w3mepub

Text-based EPUB reader
git clone git://efe.kim/w3mepub
Log | Files | Refs | README | LICENSE

Makefile (531B)


      1 # w3mepub - text-based EPUB reader
      2 # See LICENSE file for copyright and license details.
      3 .POSIX:
      4 
      5 # Adjust $confdir in w3mepub if you change PREFIX
      6 PREFIX = /usr/local
      7 
      8 clean:
      9 	rm -f less.conf
     10 
     11 install:
     12 	lesskey -o less.conf lesskey
     13 	mkdir -p $(PREFIX)/bin $(PREFIX)/share/w3mepub
     14 	cp -f w3mepub $(PREFIX)/bin
     15 	chmod 755 $(PREFIX)/bin/w3mepub
     16 	cp -f *.conf *.xsl $(PREFIX)/share/w3mepub
     17 	chmod 644 $(PREFIX)/share/w3mepub/*
     18 
     19 uninstall:
     20 	rm -f $(PREFIX)/bin/w3mepub
     21 	rm -f $(PREFIX)/share/w3mepub/*
     22 
     23 .PHONY: clean install uninstall