diff options
author | jbj <devnull@localhost> | 2004-10-21 19:24:07 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2004-10-21 19:24:07 +0000 |
commit | bc1ad5caaf0c827355f4254cb3b4e7f4e76a94b4 (patch) | |
tree | 4f07c8690e829339b00b55b0b5f7daac51870eb5 | |
parent | b7f251ae164590335bfca52c9dfce56a9e9c6512 (diff) | |
download | librpm-tizen-bc1ad5caaf0c827355f4254cb3b4e7f4e76a94b4.tar.gz librpm-tizen-bc1ad5caaf0c827355f4254cb3b4e7f4e76a94b4.tar.bz2 librpm-tizen-bc1ad5caaf0c827355f4254cb3b4e7f4e76a94b4.zip |
Install rpmfile and magic* into /usr/lib/rpm.
CVS patchset: 7501
CVS date: 2004/10/21 19:24:07
-rw-r--r-- | file/doc/Makefile.am | 3 | ||||
-rw-r--r-- | file/magic/Makefile.am | 4 | ||||
-rw-r--r-- | file/src/Makefile.am | 7 |
3 files changed, 10 insertions, 4 deletions
diff --git a/file/doc/Makefile.am b/file/doc/Makefile.am index 4a78589ce..d3e28e747 100644 --- a/file/doc/Makefile.am +++ b/file/doc/Makefile.am @@ -5,7 +5,8 @@ else man_MAGIC = magic.4 endif fsect = @fsect@ -man_MANS = file.1 $(man_MAGIC) libmagic.3 +#man_MANS = file.1 $(man_MAGIC) libmagic.3 +noinst_MANS = file.1 $(man_MAGIC) libmagic.3 EXTRA_DIST = file.man magic.man libmagic.man CLEANFILES = $(man_MANS) diff --git a/file/magic/Makefile.am b/file/magic/Makefile.am index 0c716df5c..eb8116c2b 100644 --- a/file/magic/Makefile.am +++ b/file/magic/Makefile.am @@ -1,4 +1,6 @@ -pkgdata_DATA = magic magic.mime magic.mgc magic.mime.mgc +#pkgdata_DATA = magic magic.mime magic.mgc magic.mime.mgc +pkglibdir = @prefix@/lib/rpm +pkglib_DATA = magic magic.mime magic.mgc magic.mime.mgc EXTRA_DIST = magic2mime Localstuff Header magic.mime $(magic_FRAGMENTS) diff --git a/file/src/Makefile.am b/file/src/Makefile.am index 9fa447c83..0f875b55e 100644 --- a/file/src/Makefile.am +++ b/file/src/Makefile.am @@ -20,7 +20,10 @@ libmagic_la_SOURCES = magic.c apprentice.c softmagic.c ascmagic.c \ funcs.c apptype.c libmagic_la_LDFLAGS = -version-info 1:0:0 -#bin_PROGRAMS = file +pkglib_PROGRAMS = rpmfile +rpmfile: file + -cp $< $@ + noinst_PROGRAMS = file file_SOURCES = file.c file_LDFLAGS = -all-static @@ -28,7 +31,7 @@ file_LDADD = libmagic.la listobjs: @echo $(libmagic_la_SOURCES:.c=.lo) > $@ - + .PHONY: lint lint: $(LINT) $(DEFS) $(INCLUDES) $(file_SOURCES) $(libmagic_la_SOURCES) $(include_HEADERS) $(noinst_HEADERS) |