21 |
21 |
22 clean: |
22 clean: |
23 rm -f ${TARGET} *.o *.h~ *.c~ core filelist Makefile.bak |
23 rm -f ${TARGET} *.o *.h~ *.c~ core filelist Makefile.bak |
24 |
24 |
25 install: all |
25 install: all |
26 ${INSTALL} -c -s -g root -o root -m 0755 thermferm ${BINDIR} |
26 ${INSTALL} -c -s -g root -o root -m 0755 thermferm ${DESTDIR}${BINDIR} |
27 |
27 |
28 filelist: Makefile |
28 filelist: Makefile |
29 BASE=`pwd`; \ |
29 BASE=`pwd`; \ |
30 BASE=`basename $${BASE}`; \ |
30 BASE=`basename $${BASE}`; \ |
31 (for f in ${SRCS} ${HDRS} ${OTHER} ;do echo ${PACKAGE}-${VERSION}/$${BASE}/$$f; done) >filelist |
31 (for f in ${SRCS} ${HDRS} ${OTHER} ;do echo ${PACKAGE}-${VERSION}/$${BASE}/$$f; done) >filelist |