File: Makefile

package info (click to toggle)
blosxom 2.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 620 kB
  • sloc: perl: 759; makefile: 23
file content (15 lines) | stat: -rw-r--r-- 408 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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)/

test:
	prove -v t/*.t

tidycheck:
	perltidy blosxom.cgi | diff -u blosxom.cgi -