# HG changeset patch
# User mirkol
# Date 1005252665 0
# Node ID a34620942998b452039fcfac739a2acc2dbb0599
# Parent  33844d68cab1a113bbd25cdc7e9f98979f50997a
[svn]
Minor fix needed by configure option --with-configfile. Fixed --program-prefix.

diff -r 33844d68cab1 -r a34620942998 Makefile.am
--- a/Makefile.am	Thu Nov 08 20:47:11 2001 +0000
+++ b/Makefile.am	Thu Nov 08 20:51:05 2001 +0000
@@ -21,19 +21,19 @@
 	$(INSTALL_DATA) -o 0 -g 0 $(srcdir)/README $(DOCDIR)
 	$(INSTALL_DATA) -o 0 -g 0 $(srcdir)/TODO $(DOCDIR)
 	$(INSTALL_DATA) -o 0 -g 0 $(srcdir)/noffle.conf.example \
-                                  /etc/noffle.conf.example
-	chown news.news /etc/noffle.conf.example
-	chmod 600 /etc/noffle.conf.example
+                                  $(CONFIGFILE).example
+	chown news.news $(CONFIGFILE).example
+	chmod 600 $(CONFIGFILE).example
 	@echo
 	@echo "****************************************************************"
-	@echo "You should now copy /etc/noffle.conf.example to /etc/noffle.conf"
+	@echo "You should now copy $(CONFIGFILE).example to $(CONFIGFILE)"
 	@echo "and edit that copy."
 	@echo "****************************************************************"
 	@echo
 
 install-exec-local:
-	chown news.news $(bindir)/$(PACKAGE)
-	chmod 4755 $(bindir)/$(PACKAGE)
+	chown news.news $(bindir)/`echo $(PACKAGE)|sed '$(transform)'`
+	chmod 4755 $(bindir)/`echo $(PACKAGE)|sed '$(transform)'`
 
 uninstall-local:
 	rm -f $(DOCDIR)/AUTHORS
@@ -43,7 +43,7 @@
 	rm -f $(DOCDIR)/NEWS
 	rm -f $(DOCDIR)/README
 	rm -f $(DOCDIR)/TODO
-	rm -f /etc/noffle.conf.example
+	rm -f $(CONFIGFILE).example
 	@echo
 	@echo "****************************************************************"
 	@echo "The NOFFLE spool directory $(SPOOLDIR) and the configfile"
diff -r 33844d68cab1 -r a34620942998 Makefile.in
--- a/Makefile.in	Thu Nov 08 20:47:11 2001 +0000
+++ b/Makefile.in	Thu Nov 08 20:51:05 2001 +0000
@@ -264,7 +264,7 @@
 	@for file in $(DISTFILES); do \
 	  d=$(srcdir); \
 	  if test -d $$d/$$file; then \
-	    cp -pr $$d/$$file $(distdir)/$$file; \
+	    cp -pr $$/$$file $(distdir)/$$file; \
 	  else \
 	    test -f $(distdir)/$$file \
 	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
@@ -373,19 +373,19 @@
 	$(INSTALL_DATA) -o 0 -g 0 $(srcdir)/README $(DOCDIR)
 	$(INSTALL_DATA) -o 0 -g 0 $(srcdir)/TODO $(DOCDIR)
 	$(INSTALL_DATA) -o 0 -g 0 $(srcdir)/noffle.conf.example \
-                                  /etc/noffle.conf.example
-	chown news.news /etc/noffle.conf.example
-	chmod 600 /etc/noffle.conf.example
+                                  $(CONFIGFILE).example
+	chown news.news $(CONFIGFILE).example
+	chmod 600 $(CONFIGFILE).example
 	@echo
 	@echo "****************************************************************"
-	@echo "You should now copy /etc/noffle.conf.example to /etc/noffle.conf"
+	@echo "You should now copy $(CONFIGFILE).example to $(CONFIGFILE)"
 	@echo "and edit that copy."
 	@echo "****************************************************************"
 	@echo
 
 install-exec-local:
-	chown news.news $(bindir)/$(PACKAGE)
-	chmod 4755 $(bindir)/$(PACKAGE)
+	chown news.news $(bindir)/`echo $(PACKAGE)|sed '$(transform)'`
+	chmod 4755 $(bindir)/`echo $(PACKAGE)|sed '$(transform)'`
 
 uninstall-local:
 	rm -f $(DOCDIR)/AUTHORS
@@ -395,7 +395,7 @@
 	rm -f $(DOCDIR)/NEWS
 	rm -f $(DOCDIR)/README
 	rm -f $(DOCDIR)/TODO
-	rm -f /etc/noffle.conf.example
+	rm -f $(CONFIGFILE).example
 	@echo
 	@echo "****************************************************************"
 	@echo "The NOFFLE spool directory $(SPOOLDIR) and the configfile"