Makefile.in 912 B

1234567891011121314151617181920212223242526272829303132
  1. DISTFILES= Makefile.in README.md \
  2. conf/Makefile conf/substitute.sh conf/substitutions.conf.franchise \
  3. conf/substitutions.conf.FreeBSD conf/substitutions.conf.Linux \
  4. dashboard/*.in dist/Makefile.in etc/*.in src test/Makefile.in
  5. DISTTARGET= nodes2grafana
  6. DISTDIR= tmp/${DISTTARGET}
  7. DISTEXCLUDE= --exclude=${DISTTARGET}/src/Makefile \
  8. --exclude=${DISTTARGET}/src/promconfig.sml \
  9. --exclude=${DISTTARGET}/src/nodes2prom \
  10. --exclude=${DISTTARGET}/src/json-pp \
  11. --exclude=${DISTTARGET}/src/.cm \
  12. --exclude=${DISTTARGET}/src/JSON/.cm \
  13. --exclude=${DISTTARGET}/src/*.%%HEAP_SUFFIX%%
  14. DISTTARFILE= ${DISTTARGET}.txz
  15. all: ${DISTTARFILE}
  16. ${DISTTARFILE}: ${DISTDIR} Makefile
  17. tar cvJf ${DISTTARFILE} -C tmp ${DISTEXCLUDE} ${DISTTARGET}
  18. ${DISTDIR}: tmp
  19. rm -rf $@
  20. mkdir $@
  21. cd .. && { tar cf - ${DISTFILES} | tar xpf - -C dist/${DISTDIR} ; }
  22. tmp:
  23. mkdir $@
  24. clean:
  25. rm -rf tmp
  26. rm -f ${DISTTARFILE}