1 --- Makefile.old 2003-10-05 11:05:39.000000000 -0400
2 +++ Makefile 2008-03-27 16:41:08.421502876 -0400
4 LIBS += `pkg-config --libs gtk+-2.0`
6 # Location where to install the binary.
7 -BINDIR = /usr/local/bin
8 +BINDIR = $(DESTDIR)/bin
10 # Location where to install the manual-page.
11 -MANDIR = /usr/local/man/man1
12 +MANDIR = $(DESTDIR)/man/man1
14 ##### Maintainer stuff goes here:
18 # Install the program and manual page. You should be root to do this.
20 - @if [ `id -u` != 0 ]; then \
21 - echo "You must be root to install the program!"; \
26 install -m 755 $(BASENAME) $(BINDIR)
27 if [ -e $(BASENAME).1 ]; then \
28 install -m 644 $(BASENAME).1 $(MANDIR); \
33 - @if [ `id -u` != 0 ]; then \
34 - echo "You must be root to uninstall the program!"; \
37 rm -f $(BINDIR)/$(BASENAME)
38 rm -f $(MANDIR)/$(BASENAME).1*