added destdir and prefix to the makefile for packaging.

This commit is contained in:
William Hubbs 2008-08-01 22:11:53 -05:00
commit 96871c6620

View file

@ -1,3 +1,5 @@
PREFIX = /usr
LDLIBS = -lespeak
PROGRAM = espeakup
@ -8,5 +10,5 @@ clean:
rm $(PROGRAM)
install: $(PROGRAM)
install -m 0755 $(PROGRAM) $(DESTDIR)/usr/bin
install -m 0755 $(PROGRAM) $(DESTDIR)$(PREFIX)/bin