diff options
Diffstat (limited to 'gadgets')
-rw-r--r-- | gadgets/Makefile | 12 | ||||
-rw-r--r-- | gadgets/config.mk | 1 |
2 files changed, 11 insertions, 2 deletions
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} |