summaryrefslogtreecommitdiff
path: root/file/doc/Makefile.am
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2004-08-03 20:16:18 +0000
committerjbj <devnull@localhost>2004-08-03 20:16:18 +0000
commit311c1c7274224f386e12f71d6b70460ffa1b1637 (patch)
tree7503e60d16d195682c1de474865a309e279eb37c /file/doc/Makefile.am
parent2b86cac35f6c633d500fda5c88262b93307c3093 (diff)
downloadlibrpm-tizen-311c1c7274224f386e12f71d6b70460ffa1b1637.tar.gz
librpm-tizen-311c1c7274224f386e12f71d6b70460ffa1b1637.tar.bz2
librpm-tizen-311c1c7274224f386e12f71d6b70460ffa1b1637.zip
Upgrade to file-4.09.
CVS patchset: 7388 CVS date: 2004/08/03 20:16:18
Diffstat (limited to 'file/doc/Makefile.am')
-rw-r--r--file/doc/Makefile.am27
1 files changed, 14 insertions, 13 deletions
diff --git a/file/doc/Makefile.am b/file/doc/Makefile.am
index 8790ef323..4a78589ce 100644
--- a/file/doc/Makefile.am
+++ b/file/doc/Makefile.am
@@ -1,12 +1,13 @@
-#MAGIC = $(pkgdatadir)/magic
-MAGIC = $(pkglibdir)/magic
-
-man_MAGIC = magic.@fsect@
+MAGIC = $(pkgdatadir)/magic
+if FSECT5
+man_MAGIC = magic.5
+else
+man_MAGIC = magic.4
+endif
fsect = @fsect@
-#man_MANS = file.1 $(man_MAGIC) # libmagic.3
-noinst_MANS = file.1 $(man_MAGIC) # libmagic.3
+man_MANS = file.1 $(man_MAGIC) libmagic.3
-EXTRA_DIST = file.man magic.man # libmagic.man
+EXTRA_DIST = file.man magic.man libmagic.man
CLEANFILES = $(man_MANS)
file.1: Makefile file.man
@@ -23,9 +24,9 @@ magic.${fsect}: Makefile magic.man
-e s@__VERSION__@${VERSION}@g \
-e s@__MAGIC__@${MAGIC}@g $(srcdir)/magic.man > $@
-#libmagic.3: Makefile libmagic.man
-# @rm -f $@
-# sed -e s@__CSECTION__@1@g \
-# -e s@__FSECTION__@${fsect}@g \
-# -e s@__VERSION__@${VERSION}@g \
-# -e s@__MAGIC__@${MAGIC}@g $(srcdir)/libmagic.man > $@
+libmagic.3: Makefile libmagic.man
+ @rm -f $@
+ sed -e s@__CSECTION__@1@g \
+ -e s@__FSECTION__@${fsect}@g \
+ -e s@__VERSION__@${VERSION}@g \
+ -e s@__MAGIC__@${MAGIC}@g $(srcdir)/libmagic.man > $@