summaryrefslogtreecommitdiff
path: root/contrib/FAQ/code/printcap01/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/FAQ/code/printcap01/Makefile')
-rw-r--r--contrib/FAQ/code/printcap01/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/contrib/FAQ/code/printcap01/Makefile b/contrib/FAQ/code/printcap01/Makefile
new file mode 100644
index 0000000000000..fda6ebb835867
--- /dev/null
+++ b/contrib/FAQ/code/printcap01/Makefile
@@ -0,0 +1,22 @@
+#
+# Makefile for the FAQ/printcap
+#
+
+PROG = hpf
+SRCS = hpf.c
+
+
+install:
+ if test -d /usr/libexec/lpr; \
+ then \
+ true; \
+ else \
+ mkdir /usr/libexec/lpr;
+ fi;
+
+ install -c -o bin -g bin -m 555 hpf /usr/libexec/lpr
+ install -c -o bin -g bin -m 555 ps2lj3 /usr/libexec/lpr
+ install -c -o bin -g bin -m 555 printcap.sample /etc/printcap
+
+.include <bsd.prog.mk>
+