2012-05-02 13:23:57 +02:00
|
|
|
#MAGIC = $(pkgdatadir)/magic
|
2012-03-31 20:24:03 +02:00
|
|
|
if FSECT5
|
2012-05-02 13:23:57 +02:00
|
|
|
#man_MAGIC = magic.5
|
2012-03-31 20:24:03 +02:00
|
|
|
else
|
2012-05-02 13:23:57 +02:00
|
|
|
#man_MAGIC = magic.4
|
2012-03-31 20:24:03 +02:00
|
|
|
endif
|
2012-05-02 13:23:57 +02:00
|
|
|
#fsect = @fsect@
|
|
|
|
#man_MANS = file.1 $(man_MAGIC) libmagic.3
|
2012-03-31 20:24:03 +02:00
|
|
|
|
2012-05-02 13:23:57 +02:00
|
|
|
#EXTRA_DIST = file.man magic.man libmagic.man
|
|
|
|
#CLEANFILES = $(man_MANS)
|
2012-03-31 20:24:03 +02:00
|
|
|
|
2012-05-02 13:23:57 +02:00
|
|
|
#file.1: Makefile file.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)/file.man > $@
|
2012-03-31 20:24:03 +02:00
|
|
|
|
2012-05-02 13:23:57 +02:00
|
|
|
#magic.${fsect}: Makefile magic.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)/magic.man > $@
|
2012-03-31 20:24:03 +02:00
|
|
|
|
2012-05-02 13:23:57 +02:00
|
|
|
#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 > $@
|