-
Notifications
You must be signed in to change notification settings - Fork 13
/
Makefile.am
64 lines (48 loc) · 1.68 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
## Process this file with automake to create Makefile.in
## Copyright (C) 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004
## Free Software Foundation, Inc.
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2, or (at your option)
## any later version.
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## Maintainer: Philippe Dax
##
AUTOMAKE_OPTIONS = foreign no-dependencies
ACLOCAL_AMFLAGS = -I conf
SUBDIRS = src
EXTRA_DIST = conf/* md/* data/* build vr
TARBALL_GZ = $(PACKAGE_NAME)-$(PACKAGE_VERSION).tar.gz
TARBALL_XZ = $(PACKAGE_NAME)-$(PACKAGE_VERSION).tar.xz
TARBALLS = $(TARBALL_GZ) $(TARBALL_XZ)
TARLINK_GZ = $(PACKAGE_NAME).tar.gz
TARLINK_XZ = $(PACKAGE_NAME).tar.xz
#
# maintainer's targets
#
dist dist-all:
-make dist-gzip
-make dist-xz
clean-tar:
-tar xpf $(TARBALL_GZ)
@-cp $(TARBALL_GZ) vreng.tar.gz
@-rm $(TARBALLS)
data-tar:
-tar zcf vreng-data.tar.gz data
html-tar:
-tar zcf vreng-html.tar.gz data/html
archive: dist
-install -m 444 $(TARBALL_GZ) archive
-install -m 444 $(TARBALL_XZ) archive
@-(cd archive; rm -f $(TARLINK_GZ); ln -s $(TARBALL_GZ) $(TARLINK_GZ); rm -f $(TARLINK_XZ); ln -s $(TARBALL_XZ) $(TARLINK_XZ))
doxygen:
@(umask 022; doxygen conf/doxygen)
snapshot:
$(MAKE) dist distdir=$(PACKAGE_NAME)`date +"%y%m%d"`
history:
@(cd archive; ls -ltr)
.PHONY: dist clean-tar data-tar html-tar doxygen snapshot history