-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.am
More file actions
51 lines (40 loc) · 1.5 KB
/
Makefile.am
File metadata and controls
51 lines (40 loc) · 1.5 KB
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
# Copyright (C) 2006-2014 David Sugar, Tycho Softworks.
# Copyright (C) 2015-2017 Cherokees of Idaho.
#
# 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-zip
EXTRA_DIST = autogen.sh README *.pc.in FEATURES TODO Doxyfile BUILDS \
SUPPORT NOTES MODULES sipwitch.spec.in sipwitch.spec \
sipwitch-config.h.cmake CMakeLists.txt directive.in cmake-abi.sh \
sipwitch-rpmlintrc
# *.pc.in *.spec.in *.spec
SUBDIRS = common server utils inc test
DIST_SUBDIRS = common server utils inc test
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libsipwitch.pc
srpm: dist
rm -f *.rpm
rpmbuild -bs --nodeps --define "_sourcedir ." --define "_srcrpmdir ." --sign sipwitch.spec
deb: dist
rm -f *.deb *.debian.tar.gz *.dsc *.changes
cape-source --sign sipwitch-${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