aboutsummaryrefslogtreecommitdiff
path: root/nxproxy
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-02-09 14:26:02 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-02-09 14:26:46 +0100
commit4bc550e867f6168c1090aa4e1959a22238be84f1 (patch)
treeb8278d58308adaadeb1cd213f8583c3f0a5dda8d /nxproxy
parent27ddd1695541ff333104d5a3e441a0c37308750e (diff)
downloadnx-libs-4bc550e867f6168c1090aa4e1959a22238be84f1.tar.gz
nx-libs-4bc550e867f6168c1090aa4e1959a22238be84f1.tar.bz2
nx-libs-4bc550e867f6168c1090aa4e1959a22238be84f1.zip
nxcomp*,nxproxy: Add clean rules to Makefile.in templates.
Diffstat (limited to 'nxproxy')
-rw-r--r--nxproxy/Makefile.in17
1 files changed, 14 insertions, 3 deletions
diff --git a/nxproxy/Makefile.in b/nxproxy/Makefile.in
index 928e0d34e..5d78972b9 100644
--- a/nxproxy/Makefile.in
+++ b/nxproxy/Makefile.in
@@ -41,6 +41,8 @@ VPATH = @srcdir@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
+DESTDIR =
+RM_FILE = rm -f
#
# This should be autodetected.
@@ -87,11 +89,20 @@ depend.status:
install: install.bin install.man
install.bin: $(PROGRAM)
- $(srcdir)/mkinstalldirs $(bindir)
- $(INSTALL) $(PROGRAM) $(bindir)/$(PROGRAM)
+ $(srcdir)/mkinstalldirs $(DESTDIR)$(bindir)
+ $(INSTALL_PROGRAM) $(PROGRAM) $(DESTDIR)$(bindir)/$(PROGRAM)
install.man:
- $(srcdir)/mkinstalldirs $(man1dir)
+ $(srcdir)/mkinstalldirs $(DESTDIR)$(man1dir)
+ $(INSTALL_DATA) man/$(PROGRAM).1 $(DESTDIR)$(man1dir)/$(PROGRAM).1
+
+uninstall: uninstall.bin uninstall.man
+
+uninstall.bin:
+ $(RM_FILE) $(DESTDIR)$(bindir)/$(PROGRAM)
+
+uninstall.man:
+ $(RM_FILE) $(DESTDIR)$(man1dir)/nxproxy.1
clean:
-rm -f *~ *.o *.bak st?????? core core.* *.out.* \