File: Makefile.am

package info (click to toggle)
giflib 5.1.4-3
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 3,952 kB
  • sloc: sh: 11,565; ansic: 6,901; xml: 2,401; makefile: 278
file content (46 lines) | stat: -rw-r--r-- 1,018 bytes parent folder | download | duplicates (2)
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
SUBDIRS = lib util pic

# Pacify autoreconf.  We don't actually use this.
ACLOCAL_AMFLAGS = -I m4

# Avoid trouble if your system doesn't have xmlto.
if BUILD_DOC
SUBDIRS += doc
endif

EXTRA_DIST = Makefile.unx \
	     autogen.sh \
	     test.sh \
	     tests \
	     TODO \
	     BUGS \
	     build.asc \
	     history.asc \
	     control \
	     doc/whatsinagif \
	     $(WINDOWS)

TESTS=test.sh

# Auditing tools.

# cppcheck should run clean
cppcheck:
	cppcheck -Ilib --inline-suppr --template gcc --enable=all --suppress=unusedStructMember --suppress=unusedFunction --force lib/*.[ch] util/*.[ch]

# splint is nowhere near running clean
SPLINT_SUPPRESSIONS = -boolops -nullret
splint: 
	splint +quiet +posixlib $(SPLINT_SUPPRESSIONS) lib/*.[ch]

# release using the shipper tool, if distcheck passes
release: distcheck
	cd doc; make website
	shipper version=@VERSION@ | sh -e -x
	rm -fr doc/staging

# Refresh the wbsite
refresh:
	cd doc; make website
	shipper -w version=@VERSION@ | sh -e -x
	rm -fr doc/staging