X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=aclock.git;a=blobdiff_plain;f=Makefile;h=2f0a2a9c14c2350e4f9ae87c49c11d4aff9f668b;hp=2e205c265b592555c759476d6cbc84b4448e7844;hb=d977f0f30889d6b0079e90f9b11bd0c7fe544fbf;hpb=e369359541374efd2d72f4933d6ddd8bf95157e5 diff --git a/Makefile b/Makefile index 2e205c2..2f0a2a9 100644 --- a/Makefile +++ b/Makefile @@ -19,6 +19,12 @@ aclock-curses: aclock-termcap: cc aclock-unix-termcap.c -o aclock-termcap -ltermcap -lm +install-local: aclock-curses + install -d -o $(USER) -g $(GROUP) -m 755 \ + $(DESTDIR)$(PREFIX)/bin + install -p -o $(USER) -g $(GROUP) -m 755 aclock-curses \ + $(DESTDIR)$(PREFIX)/bin/aclock + clean-local: rm -f aclock aclock-aalib aclock-curses aclock-termcap