diff --git a/Makefile.devel b/Makefile.devel index 6081c7b..50fb6e3 100644 --- a/Makefile.devel +++ b/Makefile.devel @@ -44,11 +44,14 @@ VER=${shell echo `grep "CL_VERSION " include/cln/version.h |sed 's/^.*CL_VERSION src-distrib: include/cln/version.h force ${MAKE} -f Makefile.devel src--distrib TOPDIR=cln-${VER} -src--distrib: force +src--distrib: clean ln -s . ${TOPDIR} ${PACK} ${PACKOPT} ${SRC_DIST} ${EXCLUDE} --exclude ${TOPDIR}/${TOPDIR} ${TOPDIR} rm -f ${TOPDIR} +clean: force + test -f Makefile && ${MAKE} distclean + # Syntaxcheck: check-configures: ${CONFIGURES} set -e; for f in ${CONFIGURES}; do bash -x -n $$f; done