diff options
author | pancake <pancake@dazo> | 2008-12-14 03:05:19 +0100 |
---|---|---|
committer | pancake <pancake@dazo> | 2008-12-14 03:05:19 +0100 |
commit | 3a1053b29e5fb8109463259ee9dff3d8f4e4be5b (patch) | |
tree | 6814a8b3bb1e4e1c1cb585b48f2a530052e8a5da /Makefile | |
parent | fc3a613276f147c73214f67839e362f08664c7b1 (diff) | |
download | 0xFFFF-3a1053b29e5fb8109463259ee9dff3d8f4e4be5b.tar.bz2 |
* Oops missing up0.4
* Added fixups for make install/deinstall
* HAVE_GUI is now enabled by default
* New 'stop' button for goxf GUI
* Fix lil bug in squeue.c
* Initial .desktop icon for freedesktop environments (GNOME)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 17 |
1 files changed, 12 insertions, 5 deletions
@@ -1,5 +1,6 @@ include config.mk PREFIX?=/usr/local +DESTDIR?= all: logot frontend cd src && ${MAKE} all @@ -10,6 +11,7 @@ frontend: static: logot cd libusb && ${MAKE} all cd src && ${MAKE} static + cd logotool && ${MAKE} static allusb: logot cd libusb && ${MAKE} all @@ -23,10 +25,15 @@ clean: cd logotool && ${MAKE} clean install: - cp src/0xFFFF ${PREFIX}/bin - -cp src/gui/goxf ${PREFIX}/bin - cp logotool/logotool ${PREFIX}/bin + mkdir -p ${DESTDIR}${PREFIX}/bin + mkdir -p ${DESTDIR}${PREFIX}/share/applications/ + cp src/0xFFFF ${DESTDIR}${PREFIX}/bin + -cp src/gui/goxf ${DESTDIR}${PREFIX}/bin + cp logotool/logotool ${DESTDIR}${PREFIX}/bin + cp 0xFFFF.desktop ${DESTDIR}${PREFIX}/share/applications/ deinstall: - rm -f ${PREFIX}/bin/0xFFFF - rm -f ${PREFIX}/bin/logotool + rm -f ${DESTDIR}${PREFIX}/bin/0xFFFF + rm -f ${DESTDIR}${PREFIX}/bin/logotool + rm -f ${DESTDIR}${PREFIX}/bin/goxf + rm ${DESTDIR}${PREFIX}/share/applications/0xFFFF.desktop |