2241a81cb3
script and add a DEINSTALL script in handling the config file.
37 lines
1.2 KiB
Text
37 lines
1.2 KiB
Text
$NetBSD: patch-ab,v 1.3 2000/12/17 22:21:45 jlam Exp $
|
|
|
|
--- extras/Makefile.in.orig Wed Sep 15 12:00:14 1999
|
|
+++ extras/Makefile.in
|
|
@@ -35,7 +35,7 @@
|
|
CCOPT = @V_CCOPT@
|
|
DEFS = @DEFS@
|
|
INCLS = -I..
|
|
-CFLAGS = $(CCOPT) $(DEFS) $(INCLS)
|
|
+CFLAGS += $(CCOPT) $(DEFS) $(INCLS)
|
|
STATICFLAG = @V_STATICFLAG@
|
|
LDFLAGS = @LDFLAGS@
|
|
LIBS = @LIBS@
|
|
@@ -67,17 +67,15 @@
|
|
|
|
install: all
|
|
rm -f $(BINDIR)/makeweb $(BINDIR)/htpasswd $(BINDIR)/syslogtocern
|
|
- cp makeweb $(BINDIR)/makeweb
|
|
- chgrp $(WEBGROUP) $(BINDIR)/makeweb
|
|
- chmod 2755 $(BINDIR)/makeweb
|
|
- cp htpasswd $(BINDIR)/htpasswd
|
|
- cp syslogtocern $(BINDIR)/syslogtocern
|
|
+ $(BSD_INSTALL_PROGRAM) makeweb $(BINDIR)/makeweb
|
|
+ $(BSD_INSTALL_PROGRAM) htpasswd $(BINDIR)/htpasswd
|
|
+ $(BSD_INSTALL_SCRIPT) syslogtocern $(BINDIR)/syslogtocern
|
|
rm -f $(MANDIR)/man1/makeweb.1
|
|
- cp makeweb.1 $(MANDIR)/man1/makeweb.1
|
|
+ $(BSD_INSTALL_MAN) makeweb.1 $(MANDIR)/man1/makeweb.1
|
|
rm -f $(MANDIR)/man1/htpasswd.1
|
|
- cp htpasswd.1 $(MANDIR)/man1/htpasswd.1
|
|
+ $(BSD_INSTALL_MAN) htpasswd.1 $(MANDIR)/man1/htpasswd.1
|
|
rm -f $(MANDIR)/man8/syslogtocern.8
|
|
- cp syslogtocern.8 $(MANDIR)/man8/syslogtocern.8
|
|
+ $(BSD_INSTALL_MAN) syslogtocern.8 $(MANDIR)/man8/syslogtocern.8
|
|
|
|
clean:
|
|
rm -f $(CLEANFILES)
|