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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10 - (show annotations)
Thu Dec 6 11:05:57 2007 UTC (13 years, 4 months ago) by norman.x.gray
File size: 981 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 # @configure_input@
3
4 RELEASE=@PACKAGE_VERSION@
5 RELEASEDATE=@RELEASEDATEN@
6 # Base URI for the vocabularies -- no trailing slash
7 BASEURI=@BASEURI@
8
9 # Distribution name -- can be overridden
10 DISTNAME=vocab-$(RELEASE)
11
12 TAR=@TAR@
13
14
15 ########################################
16 #
17 # Rules
18
19 %.gz: %
20 rm -f $@
21 gzip --best $<
22
23
24
25 ########################################
26 #
27 # Targets
28
29 all: ivoa-vocab-$(RELEASE).tar.gz
30
31 ivoa-vocab-$(RELEASE).tar: src/$(DISTNAME).tar.gz doc/vocabularies.xhtml
32 rm -Rf ${@:.tar=}
33 mkdir ${@:.tar=}
34 cp src/$(DISTNAME).tar.gz doc/vocabularies.xhtml ${@:.tar=}
35 $(TAR) cf $@ ${@:.tar=}
36 rm -Rf ${@:.tar=}
37
38 src/$(DISTNAME).tar.gz: Makefile
39 cd src; make DISTNAME=$(DISTNAME)
40
41 doc/vocabularies.xhtml: Makefile
42 cd doc; make DISTNAME=$(DISTNAME)
43
44 clean:
45 for d in src doc; do (cd $$d; make clean); done
46
47 realclean: clean
48 rm -f Makefile config.log config.status
49 for d in src doc; do (cd $$d; make realclean); done

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