NAME := mapsector
CLOGDIR := .git/changelogs
-CHANGELOGS := $(shell lasttag=HEAD; \
- (git tag -l 'v*'; echo) \
- | while read tag; do \
- echo $(CLOGDIR)/$${tag}$${tag:+-}$$lasttag; \
- lasttag=$$tag; \
+CHANGELOGS := $(shell lasttag=HEAD; \
+ (git tag -l 'v*'; echo) \
+ | while read tag; do \
+ echo $(CLOGDIR)/$${tag}$${tag:+-}$$lasttag; \
+ lasttag=$$tag; \
done)
$(CHANGELOGS): %:
.PHONY: prepare
clean:
+ fakeroot debian/rules clean
rm -f mapsectorsh
rm -f debian/changelog
rm -f lib/00_version.sh
rm -rf .git/changelogs
+
.PHONY: clean