aboutsummaryrefslogtreecommitdiffstats
path: root/man/Makefile
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>1998-11-05 01:13:07 +0000
committerH. Peter Anvin <hpa@zytor.com>1998-11-05 01:13:07 +0000
commit8e618f6dcae16af89c1f997ea28818d2041be184 (patch)
treef356fae77e20f46703a89aa0aeec31885624ba4b /man/Makefile
parentca8319499268f07a02e95e0030ccbac8b59606ce (diff)
downloadautofs3-8e618f6dcae16af89c1f997ea28818d2041be184.tar.gz
autofs3-8e618f6dcae16af89c1f997ea28818d2041be184.tar.xz
autofs3-8e618f6dcae16af89c1f997ea28818d2041be184.zip
Various documentation changes to be more RedHat-friendly and less Debian-
centric; add .spec file from RedHat RPM (goal is to be able to at least publish the SRPM file automatically); add pointer to HOWTO.
Diffstat (limited to 'man/Makefile')
-rw-r--r--man/Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/man/Makefile b/man/Makefile
index e6a4d4e..bab0aef 100644
--- a/man/Makefile
+++ b/man/Makefile
@@ -3,11 +3,18 @@
-include ../Makefile.conf
include ../Makefile.rules
-install:
+GENFILES = $(patsubst %.in, %, $(wildcard *.[58].in))
+
+.SUFFIXES: .in
+
+.in:
+ sed -e 's/@@INIT.D@@/$(initdir)/g' < $< > $@
+
+all: $(GENFILES)
+
+install: all
install -c *.5 -m 644 $(INSTALLROOT)$(mandir)/man5
install -c *.8 -m 644 $(INSTALLROOT)$(mandir)/man8
-all:
-
clean:
-
+ rm -f $(GENFILES)