File: Makefile

package info (click to toggle)
blosxom 2.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, lenny, squeeze, wheezy
  • size: 496 kB
  • ctags: 31
  • sloc: perl: 706; makefile: 65; sh: 55
file content (10 lines) | stat: -rw-r--r-- 328 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
VERSION=$(shell head -1 ChangeLog | sed -e s/v//)

dist:
	rm -rf ../blosxom-$(VERSION)/
	mkdir ../blosxom-$(VERSION)
	cp -priv * ../blosxom-$(VERSION)/
	cd .. && tar cvzf blosxom-$(VERSION).tar.gz --exclude=CVS --exclude='*~' --exclude=".??*" --exclude="#*#" --exclude="*.t" blosxom-$(VERSION)/
	rm -rf ../blosxom-$(VERSION)/