bday

diff Makefile @ 1:8534f0e3a0db

added manpage; adjusted makefile
author meillo@marmaro.de
date Sun, 16 Dec 2007 22:52:15 +0100
parents 22b6e71de68e
children dc2f94280b01
line diff
     1.1 --- a/Makefile	Sun Dec 16 22:26:48 2007 +0100
     1.2 +++ b/Makefile	Sun Dec 16 22:52:15 2007 +0100
     1.3 @@ -16,11 +16,14 @@
     1.4  	$(CC) $(LDFLAGS) $(OBJ) -o $@
     1.5  
     1.6  
     1.7 -install: birthday birthday.man
     1.8 -	mkdir -p $(DESTDIR)/usr/bin $(DESTDIR)/usr/share/man/man1
     1.9 +install: all
    1.10 +	@echo "installing program in $(DESTDIR)/usr/bin"
    1.11 +	mkdir -p $(DESTDIR)/usr/bin
    1.12  	cp ${EXE} $(DESTDIR)/usr/bin/${EXE}
    1.13  	chmod 0755 $(DESTDIR)/usr/bin/${EXE}
    1.14 -	cp ${EXE}.man $(DESTDIR)/usr/share/man/man1/${EXE}.1
    1.15 +	@echo "installing manpage in $(DESTDIR)/usr/share/man/man1"
    1.16 +	mkdir -p $(DESTDIR)/usr/share/man/man1
    1.17 +	cp ${EXE}.1 $(DESTDIR)/usr/share/man/man1/${EXE}.1
    1.18  	chmod 0644 $(DESTDIR)/usr/share/man/man1/${EXE}.1
    1.19  
    1.20