summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-28 15:36:18 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-28 15:36:18 +0100
commit9f04a20b51315bea5a33231a9d688b730bfafafb (patch)
tree60017227e151ed92092ef98cdc3b384e47714240 /Makefile
parent373385274db3fdca09eff8bc171fc51ba96762b5 (diff)
downloadldetect-lst-9f04a20b51315bea5a33231a9d688b730bfafafb.tar
ldetect-lst-9f04a20b51315bea5a33231a9d688b730bfafafb.tar.gz
ldetect-lst-9f04a20b51315bea5a33231a9d688b730bfafafb.tar.bz2
ldetect-lst-9f04a20b51315bea5a33231a9d688b730bfafafb.tar.xz
ldetect-lst-9f04a20b51315bea5a33231a9d688b730bfafafb.zip
drop SVN bits
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile35
1 files changed, 1 insertions, 34 deletions
diff --git a/Makefile b/Makefile
index 307f32d3..a146cc8a 100644
--- a/Makefile
+++ b/Makefile
@@ -27,44 +27,11 @@ install: build
# rules to build a distributable rpm
-dist-svn:
- svn export -q -rBASE . $(NAME)-$(VERSION)
- tar cfJ ../$(NAME)-$(VERSION).tar.xz $(NAME)-$(VERSION)
- rm -rf $(NAME)-$(VERSION)
-
-dist-git:
- @git archive --prefix=$(NAME)-$(VERSION)/ HEAD | xz >../$(NAME)-$(VERSION).tar.xz;
-
dist: dis
dis: clean
rm -rf ../$(NAME)-$(VERSION)*.tar* $(NAME)-$(VERSION)
- @if [ -e ".svn" ]; then \
- $(MAKE) dist-svn; \
- elif [ -e ".git" ]; then \
- $(MAKE) dist-git; \
- else \
- echo "Unknown SCM (not SVN nor GIT)";\
- exit 1; \
- fi;
-
+ @git archive --prefix=$(NAME)-$(VERSION)/ HEAD | xz >../$(NAME)-$(VERSION).tar.xz;
$(info $(shell dirname $$PWD)/$(NAME)-$(VERSION).tar.xz is ready)
-log: changelog
-
-changelog: ChangeLog
-
-ChangeLog: ../common/username.xml
- @if test -d "$$PWD/.git"; then \
- ../common/gitlog-to-changelog > $@.tmp \
- && mv -f $@.tmp $@ \
- || (rm -f $@.tmp; \
- echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \
- (test -f $@ || echo git-log is required to generate this file >> $@)); \
- else \
- svn2cl --accum --authors ../common/username.xml; \
- rm -f *.bak; \
- svn commit -m "Generated by svn2cl the `LC_TIME=C date '+%d_%b'`" ChangeLog; \
- fi;
-
# Makefile ends here