From 156afa81bd0e68d856cb29802426f5cfa7e6e616 Mon Sep 17 00:00:00 2001 From: gotmor Date: Sun, 15 Jul 2007 11:01:42 +0000 Subject: changed Makefile to be aware of the gadgets added install rule to gadgets' Makefile updated TODO and README git-svn-id: http://dzen.googlecode.com/svn/trunk@123 f2baff5b-bf2c-0410-a398-912abdc3d8b2 --- gadgets/Makefile | 12 +++++++++++- gadgets/config.mk | 1 - 2 files changed, 11 insertions(+), 2 deletions(-) (limited to 'gadgets') diff --git a/gadgets/Makefile b/gadgets/Makefile index 0c62392..db0cc74 100644 --- a/gadgets/Makefile +++ b/gadgets/Makefile @@ -30,4 +30,14 @@ clean: @echo cleaning @rm -f ${OBJ} dbar -.PHONY: all options clean +install: all + @echo installing executable file to ${DESTDIR}${PREFIX}/bin + @mkdir -p ${DESTDIR}${PREFIX}/bin + @cp -f dbar ${DESTDIR}${PREFIX}/bin + @chmod 755 ${DESTDIR}${PREFIX}/bin/dbar + +uninstall: + @echo removing executable file from ${DESTDIR}${PREFIX}/bin + @rm -f ${DESTDIR}${PREFIX}/bin/dbar + +.PHONY: all options clean install uninstall diff --git a/gadgets/config.mk b/gadgets/config.mk index df25ba3..9dd7697 100644 --- a/gadgets/config.mk +++ b/gadgets/config.mk @@ -6,7 +6,6 @@ MANPREFIX = ${PREFIX}/share/man INCS = -I. -I/usr/include -# No Xinerama, comment the following two lines for Xinerama LIBS = -L/usr/lib CFLAGS = -Os ${INCS} LDFLAGS = ${LIBS} -- cgit v1.2.3-54-g00ecf