"Fossies" - the Fresh Open Source Software Archive

Member "buku-4.4/Makefile" (15 Jun 2020, 505 Bytes) of package /linux/privat/buku-4.4.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 PREFIX ?= /usr/local
    2 BINDIR ?= $(DESTDIR)$(PREFIX)/bin
    3 MANDIR ?= $(DESTDIR)$(PREFIX)/share/man/man1
    4 DOCDIR ?= $(DESTDIR)$(PREFIX)/share/doc/buku
    5 
    6 .PHONY: all install uninstall
    7 
    8 all:
    9 
   10 install:
   11 	install -m755 -d $(BINDIR)
   12 	install -m755 -d $(MANDIR)
   13 	install -m755 -d $(DOCDIR)
   14 	gzip -c buku.1 > buku.1.gz
   15 	install -m755 buku $(BINDIR)/buku
   16 	install -m644 buku.1.gz $(MANDIR)
   17 	install -m644 README.md $(DOCDIR)
   18 	rm -f buku.1.gz
   19 
   20 uninstall:
   21 	rm -f $(BINDIR)/buku
   22 	rm -f $(MANDIR)/buku.1.gz
   23 	rm -rf $(DOCDIR)