--- ussp-push-0.4/Makefile 2005-06-02 00:32:59.000000000 +0200 +++ ussp-push-0.4-new/Makefile 2005-07-05 16:49:05.000000000 +0200 @@ -8,6 +8,13 @@ # if you're having trouble with the compile. # +prefix = /usr/local +bindir = $(prefix)/bin +datadir = $(prefix)/share +docdir = $(datadir)/ussp-push +DESTDIR = +DOCFILES = doc/README doc/ussp-push.html + # # On most systems glib comes with a helper program used to determine what @@ -49,3 +56,9 @@ clean: @rm -rf ussp-push *.o *~ +install: + install -d $(DESTDIR)$(bindir) + install -m 755 ussp-push $(DESTDIR)$(bindir) + + install -d $(DESTDIR)$(docdir) + install -m 644 $(DOCFILES) $(DESTDIR)$(docdir)