summaryrefslogtreecommitdiffabout
path: root/Makefile
blob: 5917ec4906bcc81b21e678b92463c2a18fde473e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
PROJECT = gcide
VERSION = 0.51-rc1

DISTFILES=\
 $(wildcard CIDE.[A-Z])\
 COPYING\
 README\
 pronunc.png\
 symbols.png\
 pronunc.txt\
 tagset.txt\
 webfont.txt\
 abbrevn.lst\
 authors.lst\
 titlepage.png 

anclist:
	@ls -o $(DISTFILES) | grep -v 'CIDE.[A-Z]'

clean:
	rm -f *~

distclean: clean
	rm -f $(DISTBASE).tar.gz $(DISTBASE).tar.xz $(DISTBASE).zip

DISTBASE = $(PROJECT)-$(VERSION)

distdir:
	rm -rf $(DISTBASE)	
	mkdir $(DISTBASE)
	cp $(DISTFILES) $(DISTBASE)

dist: distdir
	GZIP=--best tar -Hustar -czf $(DISTBASE).tar.gz $(DISTBASE)
	tar -Hustar -cJf $(DISTBASE).tar.xz $(DISTBASE)
	rm -f $(DISTBASE).zip; zip -9 -r $(DISTBASE).zip $(DISTBASE)
	rm -rf $(DISTBASE)

Return to:

Send suggestions and report system problems to the System administrator.