/[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 5 - (show annotations)
Tue Dec 4 21:09:34 2007 UTC (13 years, 1 month ago) by norman.x.gray
File size: 1011 byte(s)
Import vocabularies from Explicator repository, breaking them into 
  separate subdirectories of src/.  There's a certain amount of
  duplication of stuff in the respective src/*/Makefile.in, but this
  is (only?) because these have all come from the same place, so start
  more-or-less identical, and they'll likely diverge at least a little
  in future.
Rework build system, so that all configuration (version number,
  release date, etc) now happens within configure.ac.

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 SUBDIRS=AAkeys AOIM UCD
13
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