wifigeoloc

Client for the Geolocation API of Mozilla and Google
git clone git://r-36.net/wifigeoloc
Log | Files | Refs | README | LICENSE

Makefile (918B)


      1 # wifigeoloc
      2 # See LICENSE file for copyright and license details.
      3 
      4 NAME = wifigeoloc
      5 
      6 include config.mk
      7 
      8 all:
      9 
     10 dist:
     11 	@echo creating dist tarball
     12 	@mkdir -p ${NAME}-${VERSION}
     13 	@cp -R LICENSE Makefile README config.mk ${NAME} ${NAME}-${VERSION}
     14 	@tar -cf ${NAME}-${VERSION}.tar ${NAME}-${VERSION}
     15 	@gzip ${NAME}-${VERSION}.tar
     16 	@rm -rf ${NAME}-${VERSION}
     17 
     18 install: all
     19 	@echo installing script to ${DESTDIR}${PREFIX}/bin
     20 	@mkdir -p ${DESTDIR}${PREFIX}/bin
     21 	@cp -f ${NAME} ${DESTDIR}${PREFIX}/bin
     22 	@chmod 755 ${DESTDIR}${PREFIX}/bin/${NAME}
     23 #	@echo installing manual page to ${DESTDIR}${MANPREFIX}/man1
     24 #	@mkdir -p ${DESTDIR}${MANPREFIX}/man1
     25 #	@sed "s/VERSION/${VERSION}/g" < ${NAME}.1 > ${DESTDIR}${MANPREFIX}/man1/${NAME}.1
     26 #	@chmod 644 ${DESTDIR}${MANPREFIX}/man1/${NAME}.1
     27 
     28 uninstall:
     29 	@echo removing script from ${DESTDIR}${PREFIX}/bin
     30 	@rm -f ${DESTDIR}${PREFIX}/bin/${NAME}
     31 
     32 .PHONY: all dist install uninstall