summaryrefslogtreecommitdiff
path: root/file/src
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2004-10-21 19:24:07 +0000
committerjbj <devnull@localhost>2004-10-21 19:24:07 +0000
commitbc1ad5caaf0c827355f4254cb3b4e7f4e76a94b4 (patch)
tree4f07c8690e829339b00b55b0b5f7daac51870eb5 /file/src
parentb7f251ae164590335bfca52c9dfce56a9e9c6512 (diff)
downloadlibrpm-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
Diffstat (limited to 'file/src')
-rw-r--r--file/src/Makefile.am7
1 files changed, 5 insertions, 2 deletions
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)