/[volute]/trunk/projects/vocabularies/src/Makefile.in
ViewVC logotype

Contents of /trunk/projects/vocabularies/src/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 11 - (show annotations)
Thu Dec 6 17:02:28 2007 UTC (12 years, 11 months ago) by norman.x.gray
File size: 1280 byte(s)
src/Makefile.in now builds IVOAT properly
src/IVOAT/Makefile.in now includes a non-dummy clean target

1 # Makefile for the IVOA vocabularies SKOS distribution
2 #
3 # Each of the SUBDIRS X, should generate a X/X.ttl, X/X.rdf and X/Notes file
4 # as part of its 'all' target.
5 #
6 # The 'all' target in this file produces a $(DISTNAME).tar.gz file.
7
8
9 # Distribution name -- can be overridden
10 DISTNAME=vocab-@PACKAGE_VERSION@
11
12 # The 'tar' program -- it's sometimes useful to override this
13 # on the command line
14 TAR=@TAR@
15
16 ########################################
17 #
18 # The list of vocabularies which live under here.
19
20 SUBDIRS=AAkeys AOIM UCD IVOAT
21
22 ########################################
23 #
24 # Rules
25
26 %.gz: %
27 rm -f $@
28 gzip --best $<
29
30 %.stamp: %
31 cd $<; make
32 touch $@
33
34
35
36 ########################################
37 #
38 # Targets
39
40 all: $(DISTNAME).tar.gz
41
42 $(DISTNAME).tar: $(SUBDIRS:=.stamp)
43 rm -Rf $(DISTNAME)
44 mkdir $(DISTNAME)
45 for d in $(SUBDIRS); do cp $$d/$$d.ttl $(DISTNAME); done
46 for d in $(SUBDIRS); do cp $$d/$$d.rdf $(DISTNAME); done
47 ( cat README; \
48 for d in $(SUBDIRS); do echo;echo;cat $$d/Notes; done; ) \
49 >$(DISTNAME)/README
50 $(TAR) cf $@ $(DISTNAME)
51 rm -Rf $(DISTNAME)
52
53 clean:
54 rm -Rf *.stamp $(DISTNAME).tar $(DISTNAME).tar.gz
55 for d in $(SUBDIRS); do (cd $$d; make clean); done
56
57 realclean: clean
58 rm -f Makefile
59 # for d in $(SUBDIRS); do (cd $$d; make -i realclean); done

msdemlei@ari.uni-heidelberg.de
ViewVC Help
Powered by ViewVC 1.1.26