]> Dogcows Code - chaz/tint2/commitdiff
correct Makefile
authorThierry Lorthiois <lorthiois@bbsoft.fr>
Thu, 30 Oct 2008 17:45:06 +0000 (17:45 +0000)
committerThierry Lorthiois <lorthiois@bbsoft.fr>
Thu, 30 Oct 2008 17:45:06 +0000 (17:45 +0000)
src/Makefile

index 4da3f66d72336fdb424e8f3376e56ba06884e1dd..06aa859709d01cc849922be988e54b296923deaa 100644 (file)
@@ -7,16 +7,16 @@ ifndef DESTDIR
        ifndef PREFIX
                BINDIR=/usr/bin
                XDG_CONFIG_DIR=/etc/xdg
-               MAN_DIR=/usr/share/man
+               MANDIR=/usr/share/man
        else
                BINDIR=$(PREFIX)/bin
                XDG_CONFIG_DIR=/etc/xdg
-               MAN_DIR=/usr/share/man
+               MANDIR=/usr/share/man
        endif
 else
        BINDIR=$(DESTDIR)/usr/bin
        XDG_CONFIG_DIR=$(DESTDIR)/etc/xdg
-       MAN_DIR=$(DESTDIR)/usr/share/man
+       MANDIR=$(DESTDIR)/usr/share/man
 endif
 
 
@@ -31,11 +31,11 @@ install:
        mkdir -p $(MANDIR)/man1
        install $(PROGNAME) $(BINDIR)
        cp -f ../tintrc06 $(XDG_CONFIG_DIR)/tint2/tint2rc
-       cp -f ../doc/man/tint2.1 $(MAN_DIR)/man1
+       cp -f ../doc/man/tint2.1 $(MANDIR)/man1
 
 uninstall:
        rm -f $(BINDIR)/$(PROGNAME)
-       rm -f $(MAN_DIR)/man1/tint2.1
+       rm -f $(MANDIR)/man1/tint2.1
 
 clean:
        rm -f $(PROGNAME)
This page took 0.025452 seconds and 4 git commands to generate.