[Pkg-wmaker-commits] [wmshutdown] 22/173: debian/patches/10-makefile.dpatch: new
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Tue Aug 25 02:46:18 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository wmshutdown.
commit fd4191284dab4339c582fa629080d16e593fa58f
Author: Jari Aalto <jari.aalto at cante.net>
Date: Sat Dec 5 14:38:47 2009 +0200
debian/patches/10-makefile.dpatch: new
---
debian/patches/10-makefile.dpatch | 49 +++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
diff --git a/debian/patches/10-makefile.dpatch b/debian/patches/10-makefile.dpatch
new file mode 100755
index 0000000..c9f7487
--- /dev/null
+++ b/debian/patches/10-makefile.dpatch
@@ -0,0 +1,49 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## /tmp/makefile.patch.dpatch by <jari.aalto at cante.net>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP:
+## DP: Author: Jari Aalto <jari.aalto at cante.net>
+## DP:
+## DP:
+## DP: Makefile: change name. Use pkg-onfig
+## DP:
+## DP: Signed-off-by: Jari Aalto <jari.aalto at cante.net>
+
+ at DPATCH@
+
+diff --git a/Makefile b/Makefile
+index 219e871..7eb6a75 100644
+--- a/Makefile
++++ b/Makefile
+@@ -8,22 +8,19 @@ clean:
+ rm -f Shutdown
+
+ install:
+- install wmShutdown /usr/local/bin
+- install wmShutdown.xpm /usr/share/pixmaps/
+- install -g root -o root Shutdown /usr/local/bin
+- chmod +s /sbin/shutdown
+- chmod +s /usr/local/bin/Shutdown
+- @echo Installed. Just type wmShutdown to use it
++ install -m 755 wmShutdown $(DESTDIR)/usr/bin/wmshutdown
++ install -m 644 wmShutdown.xpm $(DESTDIR)/usr/share/pixmaps/wmshutdown.xpm
++ install -m 755 Shutdown $(DESTDIR)/usr/bin/wmshutdown-run
+
+ uninstall:
+- rm -f /usr/local/bin/wmShutdown
+- rm -f /usr/local/bin/Shutdown
++ rm -f /bin/wmShutdown
++ rm -f /bin/Shutdown
+ rm -f /usr/share/pixmaps/wmShutdown.xpm
+ @echo ":-( Uninstalled."
+
+ dock: wmShutdown.c
+- $(CC) -c -o wmShutdown.o wmShutdown.c `gtk-config --cflags`
+- $(CC) -o wmShutdown wmShutdown.o `gtk-config --libs`
++ $(CC) -c -o wmShutdown.o wmShutdown.c `pkg-config --cflags`
++ $(CC) -o wmShutdown wmShutdown.o `pkg-config --libs`
+
+ shutdown: shutdown.c
+- $(CC) -o Shutdown shutdown.c
++ $(CC) -o Shutdown shutdown.c
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmshutdown.git
More information about the Pkg-wmaker-commits
mailing list