aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/015_nxproxy_makefile-uninstall.patch
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2011-12-28 23:18:58 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2011-12-28 23:18:58 +0100
commit3c2fe1ace2ce02a02d65d6eeb0ae05b2da395ab1 (patch)
treeb6292d75e77fc3c62f54a28958f2ac738b405cf8 /debian/patches/015_nxproxy_makefile-uninstall.patch
parent082c8ae3a7a46a62367e2c2ffca637c363ac6c53 (diff)
downloadnx-libs-3c2fe1ace2ce02a02d65d6eeb0ae05b2da395ab1.tar.gz
nx-libs-3c2fe1ace2ce02a02d65d6eeb0ae05b2da395ab1.tar.bz2
nx-libs-3c2fe1ace2ce02a02d65d6eeb0ae05b2da395ab1.zip
Change naming scheme of patch files.
Diffstat (limited to 'debian/patches/015_nxproxy_makefile-uninstall.patch')
-rw-r--r--debian/patches/015_nxproxy_makefile-uninstall.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/debian/patches/015_nxproxy_makefile-uninstall.patch b/debian/patches/015_nxproxy_makefile-uninstall.patch
new file mode 100644
index 000000000..4c349fb7e
--- /dev/null
+++ b/debian/patches/015_nxproxy_makefile-uninstall.patch
@@ -0,0 +1,35 @@
+--- 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.* \