File: rules

package info (click to toggle)
libg15render 1.3.0~svn316-2.3
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 816 kB
  • ctags: 95
  • sloc: ansic: 1,170; makefile: 44; sh: 6
file content (28 lines) | stat: -rwxr-xr-x 729 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
#!/usr/bin/make -f

AUTOMAKE_REMOVE := Makefile Makefile.in configure aclocal.m4
AUTOMAKE_REMOVE += src/*.lo src/*.o src/*.la src/Makefile src/Makefile.in
AUTOMAKE_REMOVE += config.status config.log config.h config.h.in config/* 
AUTOMAKE_REMOVE += libtool stamp-h1 .libs src/.libs


UPSTREAM_DEBIANDIR_REMOVE := debian/dirs
clean::
	-rm -Rf $(AUTOMAKE_REMOVE)
	-rm -f $(UPSTREAM_DEBIANDIR_REMOVE)

makebuilddir:: Makefile

Makefile:: Makefile.am bootstrap
	./bootstrap

  
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk

DEB_CONFIGURE_EXTRA_FLAGS = --enable-ttf

common-install-arch::
	for file in debian/tmp/usr/lib/*.la; do \
		sed -i "/dependency_libs/ s/'.*'/''/" $$file ; \
	done