]> git.ozlabs.org Git - ppp.git/commitdiff
Minor patches as suggested by Frank Cusack <fcusack@fcusack.com> to ensure
authorDavid F. Skoll <dfs@roaringpenguin.com>
Tue, 19 Feb 2002 22:10:17 +0000 (22:10 +0000)
committerDavid F. Skoll <dfs@roaringpenguin.com>
Tue, 19 Feb 2002 22:10:17 +0000 (22:10 +0000)
everything gets installed in $(DESTDIR)

pppd/plugins/radius/radiusclient/etc/Makefile.in

index 088921b94a863a5b2900cd88aca62160dcfe1bb4..7a190abb03847c52b6f9b922712cc0aa38353178 100644 (file)
@@ -11,7 +11,7 @@
 # PARTICULAR PURPOSE.
 
 #
 # PARTICULAR PURPOSE.
 
 #
-# $Id: Makefile.in,v 1.1 2002/01/22 16:03:01 dfs Exp $
+# $Id: Makefile.in,v 1.2 2002/02/19 22:10:17 dfs Exp $
 #
 # Copyright (C) 1997,1998 Lars Fenneberg
 #
 #
 # Copyright (C) 1997,1998 Lars Fenneberg
 #
@@ -173,7 +173,7 @@ uninstall: uninstall-pkgsysconfDATA uninstall-local
 install-strip:
        $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
 installdirs:
 install-strip:
        $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
 installdirs:
-       $(mkinstalldirs)  $(DATADIR)$(pkgsysconfdir)
+       $(mkinstalldirs)  $(DESTDIR)$(pkgsysconfdir)
 
 
 mostlyclean-generic:
 
 
 mostlyclean-generic:
@@ -214,12 +214,12 @@ radiusclient.conf: radiusclient.conf.in
            <$(srcdir)/radiusclient.conf.in >radiusclient.conf
 
 install-data-local: servers
            <$(srcdir)/radiusclient.conf.in >radiusclient.conf
 
 install-data-local: servers
-       $(mkinstalldirs) $(pkgsysconfdir); \
-        echo " $(INSTALL) -m600 $(srcdir)/servers $(pkgsysconfdir)/servers"; \
-        $(INSTALL) -m600 $(srcdir)/servers $(pkgsysconfdir)/servers
+       $(mkinstalldirs) $(DESTDIR)$(pkgsysconfdir); \
+        echo " $(INSTALL) -m600 $(srcdir)/servers $(DESTDIR)$(pkgsysconfdir)/servers"; \
+        $(INSTALL) -m600 $(srcdir)/servers $(DESTDIR)$(pkgsysconfdir)/servers
 
 uninstall-local:
 
 uninstall-local:
-       rm -f $(pkgsysconfdir)/servers
+       rm -f $(DESTDIR)$(pkgsysconfdir)/servers
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.