[Pkg-wmaker-commits] [wmshutdown] 04/173: Makefile: restore original
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Tue Aug 25 02:46:15 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 12b99327ddae9775cf63649c4202a6a189e65b6f
Author: Jari Aalto <jari.aalto at cante.net>
Date: Sat Dec 5 14:19:09 2009 +0200
Makefile: restore original
---
Makefile | 26 ++++++++++++--------------
1 file changed, 12 insertions(+), 14 deletions(-)
diff --git a/Makefile b/Makefile
index 084faca..219e871 100644
--- a/Makefile
+++ b/Makefile
@@ -3,29 +3,27 @@ all:
@echo "Order of makes to install: dock, shutdown, install"
clean:
- rm -rf wmShutdown.o
- rm -rf wmShutdown
- rm -rf Shutdown
+ rm -f wmShutdown.o
+ rm -f wmShutdown
+ rm -f Shutdown
install:
- install wmShutdown $(DESTDIR)/usr/bin/wmShutdown
- cp wmShutdown.xpm $(DESTDIR)/usr/share/pixmaps/wmShutdown.xpm
- #install wmShutdown.1 $(DESTDIR)/usr/share/man/man1
- #install Shutdown.1 $(DESTDIR)/usr/share/man/man1
- install -g root -o root Shutdown $(DESTDIR)/usr/bin/Shutdown
- #chmod +s $(DESTDIR)/sbin/shutdown
- #chmod +s $(DESTDIR)/bin/Shutdown
+ 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
uninstall:
- rm -f /bin/wmShutdown
- rm -f /bin/Shutdown
+ rm -f /usr/local/bin/wmShutdown
+ rm -f /usr/local/bin/Shutdown
rm -f /usr/share/pixmaps/wmShutdown.xpm
@echo ":-( Uninstalled."
dock: wmShutdown.c
- $(CC) -c -o wmShutdown.o wmShutdown.c `pkg-config --cflags gtk+-2.0`
- $(CC) -o wmShutdown wmShutdown.o `pkg-config --libs gtk+-2.0`
+ $(CC) -c -o wmShutdown.o wmShutdown.c `gtk-config --cflags`
+ $(CC) -o wmShutdown wmShutdown.o `gtk-config --libs`
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