aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/015_nxproxy_makefile-uninstall.full+lite.patch
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2012-01-16 22:29:05 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2012-01-16 22:29:05 +0100
commite9241fe8c730aa7f0b95b15b34ed5c2bda18b5ad (patch)
tree2dabac3d6b000def9e33cf30137da4507c19951d /debian/patches/015_nxproxy_makefile-uninstall.full+lite.patch
parentd7ecf7214f0df5cd7957264be5249f4cd39f4e6e (diff)
downloadnx-libs-e9241fe8c730aa7f0b95b15b34ed5c2bda18b5ad.tar.gz
nx-libs-e9241fe8c730aa7f0b95b15b34ed5c2bda18b5ad.tar.bz2
nx-libs-e9241fe8c730aa7f0b95b15b34ed5c2bda18b5ad.zip
Reorganize patch names, to reflect patch inclusion into lite+full or full-only ,,NX (redistributed)'' tarball.
Diffstat (limited to 'debian/patches/015_nxproxy_makefile-uninstall.full+lite.patch')
-rw-r--r--debian/patches/015_nxproxy_makefile-uninstall.full+lite.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/debian/patches/015_nxproxy_makefile-uninstall.full+lite.patch b/debian/patches/015_nxproxy_makefile-uninstall.full+lite.patch
new file mode 100644
index 000000000..554c86aa4
--- /dev/null
+++ b/debian/patches/015_nxproxy_makefile-uninstall.full+lite.patch
@@ -0,0 +1,40 @@
+Description: Add install and uninstall stanzas to nxcomp/Makefile
+ Provide install and uninstall functionality in nxcomp/Makefile.
+Forwarded: pending...
+Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
+Last-Update: 2011-12-31
+--- a/nxproxy/Makefile.in
++++ b/nxproxy/Makefile.in
+@@ -41,6 +41,8 @@
+ INSTALL = @INSTALL@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
++DESTDIR =
++RM_FILE = rm -f
+
+ #
+ # This should be autodetected.
+@@ -87,11 +89,20 @@
+ 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.* \