kvp

kernel version patcher
git clone git://git.ckyln.com/kvp.git
Log | Files | Refs | README | LICENSE

Makefile (475B)


      1 # See LICENSE for copyright details
      2 
      3 VERSION=0.01.1
      4 PREFIX=/usr/local
      5 BINDIR=${PREFIX}/bin
      6 
      7 install:
      8 	mkdir -p ${DESTDIR}${BINDIR}
      9 	sed 's#git-version#${VERSION}#g' < kvp > ${DESTDIR}${BINDIR}/kvp
     10 	chmod +x ${DESTDIR}${BINDIR}/kvp
     11 
     12 uninstall:
     13 	${RM} ${DESTDIR}${BINDIR}/kvp
     14 
     15 dist:
     16 	mkdir kvp-${VERSION}
     17 	cp -r LICENSE README Makefile kvp kvp-${VERSION}
     18 	tar cf kvp-${VERSION}.tar kvp-${VERSION}
     19 	gzip kvp-${VERSION}.tar
     20 	rm -rf kvp-${VERSION}
     21 
     22 .PHONY: install uninstall dist