forked from gitGNU/gnu_bayonne
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
58 lines (46 loc) · 1.71 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
# Copyright (C) 2008-2009 David Sugar, Tycho Softworks.
#
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
AUTOMAKE_OPTIONS = no-dependencies dist-shar dist-zip
EXTRA_DIST = autogen.sh *.pc.in bayonne.spec.in bayonne.spec \
DRIVERS bayonne-config.in bayonne-config.1 docs/script.tex \
bayonne-config.h.cmake CMakeLists.txt cmake-abi.sh PKGBUILD.in
SUBDIRS = common config utils @BUILD_SUBDIRS@ inc
DIST_SUBDIRS = common config utils sipw vpb inc
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libbayonne.pc
scriptdir = $(bindir)
script_SCRIPTS = bayonne-config
man_MANS = bayonne-config.1
doc:
cd docs ; pdflatex script.tex
cd docs ; latex2html -nosubdir -split 0 script.tex
cd docs ; pdflatex script.tex
cd docs ; latex2html -nosubdir -split 0 script.tex
cd docs ; lynx --dump script.html >script.text
srpm: dist
rm -f *.rpm
rpmbuild -bs --nodeps --define "_sourcedir ." --define "_srcrpmdir ." --sign bayonne.spec
deb: dist
rm -f *.deb *.debian.tar.gz *.dsc *.changes
cape-source --sign bayonne-${VERSION}.tar.gz .
lint:
cppcheck --force -q .
dist-hook: cleandist
cleandist:
@rm -f ${PACKAGE}-[0-9]*.tar.gz
@rm -f ${PACKAGE}-[0-9]*.tar.bz2
@rm -f ${PACKAGE}-[0-9]*.shar.gz
@rm -f ${PACKAGE}-[0-9]*.zip
@rm -f ${PACKAGE}-*.rpm
@rm -f lib${PACKAGE}*[-_]*.deb
@rm -f ${PACKAGE}[-_]*.deb
@rm -f ${PACKAGE}_*.gz
@rm -f ${PACKAGE}_*.dsc
@rm -f *.changes