diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -40,7 +40,7 @@ clean: @rm -frv debian/${PKGNAME}-doc/ debian/python2.5-${PKGNAME}/ @rm -frv debian/python2.6-${PKGNAME}/ debian/python-${PKGNAME}/ @rm -frv results - @rm -fv rpm/*.spec *.spec rpm/sed* sed* + @rm -fv example/rpm/*.spec *.spec example/rpm/sed* sed* @rm -frv ${PKGNAME}-* @echo "Finished cleanup." @@ -61,11 +61,11 @@ build/release-stamp: build/${PKGNAME}-${VERSION}/${NAME}/__init__.py @echo "Generating rpm specfile from template..." @cd build/${PKGNAME}-${VERSION}; \ - for spectmpl in rpm/*.spec.tmpl; do \ + for spectmpl in example/rpm/*.spec.tmpl; do \ sed -i "s/Version:\( *\).*/Version:\1${VERSION}/g" $${spectmpl}; \ mv $${spectmpl} $$(basename $${spectmpl} .tmpl); \ done; \ - rm -r rpm + rm -r example/rpm @echo "Generating rpm changelog..." @( \ version=$$(basename $$(git describe HEAD --tags | tr - .)); \ @@ -93,7 +93,7 @@ build/release-stamp: echo; \ echo " -- $${author} $${date}"; \ echo; \ - ) > build/${PKGNAME}-${VERSION}/debian/changelog + ) > build/${PKGNAME}-${VERSION}/example/debian/changelog @find build/${PKGNAME}-${VERSION}/ -exec \ touch -t $$(date -d @$$(git show -s --format="format:%at") \ +"%Y%m%d%H%M.%S") {} \; |
