diff -Naur off_network.my/build_gtk/makefile off_network/build_gtk/makefile --- off_network.my/build_gtk/makefile 2008-04-19 19:30:46.000000000 +0200 +++ off_network/build_gtk/makefile 2008-04-19 19:38:43.000000000 +0200 @@ -218,12 +218,14 @@ rm *.o offsystem install : - @install -s offsystem /usr/bin/offsystem.real - @install wrapper /usr/bin/offsystem - @install -d /usr/share/off/initial_workspace/ - @cp -r ../themes /usr/share/off/initial_workspace/ - @install ../local_URLs.txt /usr/share/off/initial_workspace/ - @grep -e "#define VERSION" ../src/offconstants.h | head -n 1 | sed 's/\s*\#define VERSION\s*{\"//' | sed s/\"}// > /usr/share/off/initial_workspace/version + @mkdir -p $(DESTDIR)/usr/bin + @install -s offsystem $(DESTDIR)/usr/bin/offsystem.real + @install wrapper $(DESTDIR)/usr/bin/offsystem + @mkdir -p $(DESTDIR)/usr/share/off + @install -d $(DESTDIR)/usr/share/off/initial_workspace/ + @cp -r ../themes $(DESTDIR)/usr/share/off/initial_workspace/ + @install ../local_URLs.txt $(DESTDIR)/usr/share/off/initial_workspace/ + @grep -e "#define VERSION" ../src/offconstants.h | head -n 1 | sed 's/\s*\#define VERSION\s*{\"//' | sed s/\"}// > $(DESTDIR)/usr/share/off/initial_workspace/version uninstall : @rm /usr/bin/offsystem.real