/[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 10 - (show annotations)
Thu Dec 6 11:05:57 2007 UTC (13 years, 9 months ago) by norman.x.gray
File size: 1116 byte(s)
Adjustments to configuration and README -- make it clearer how to specify
  the CWM configure variable, and admit defeat on how cwm should be
  installed so as to avoid this nonsense
Add AC_PATH_PROGS checks for python and tar (the former is probably
  unnecessary, the latter is so that we can override it when necessary
  on OS X)

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

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