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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6 - (hide annotations)
Tue Dec 4 22:22:28 2007 UTC (13 years, 1 month ago) by norman.x.gray
File size: 1017 byte(s)
Add Rick Hessman's IVOAT vocabulary to the tree, as a minimally
  adjusted edit of the files in
  http://www.astro.physik.uni-goettingen.de/~hessman/rdf/IVOAT/IVOAT.tar
Improved instructions in vocabularies/README for adding a vocabulary.

1 norman.x.gray 5 # 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 norman.x.gray 6 SUBDIRS=AAkeys AOIM UCD IVOAT
13 norman.x.gray 5
14     ########################################
15     #
16     # Rules
17    
18     %.gz: %
19     rm -f $@
20     gzip --best $<
21    
22     %.stamp: %
23     cd $<; make
24     touch $@
25    
26    
27    
28     ########################################
29     #
30     # Targets
31    
32     all: $(DISTNAME).tar.gz
33    
34     $(DISTNAME).tar: AAkeys.stamp AOIM.stamp UCD.stamp
35     rm -Rf $(DISTNAME)
36     mkdir $(DISTNAME)
37     for d in $(SUBDIRS); do cp $$d/$$d.ttl $(DISTNAME); done
38     for d in $(SUBDIRS); do cp $$d/$$d.rdf $(DISTNAME); done
39     ( cat README; \
40     for d in $(SUBDIRS); do echo;echo;cat $$d/Notes; done; ) \
41     >$(DISTNAME)/README
42     tar cf $@ $(DISTNAME)
43     rm -Rf $(DISTNAME)
44    
45     clean:
46     rm -Rf *.stamp $(DISTNAME).tar $(DISTNAME).tar.gz Makefile
47     for d in $(SUBDIRS); do (cd $$d; make clean); done

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