aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 1a2bb1d840792d73cd303699c0c9f14fb92d1e11 (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

DISTFILES=\
 $(wildcard CIDE.[A-Z])\
 COPYING\
 README\
 pronunc.jpg\
 symbols.jpg\
 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.