projects
/
espeaktime
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
applet: populate UI fields from config
[espeaktime]
/
debian
/
rules
diff --git
a/debian/rules
b/debian/rules
index
b31571b
..
3041d03
100755
(executable)
--- a/
debian/rules
+++ b/
debian/rules
@@
-9,7
+9,7
@@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-CFLAGS = -Wall -g
+CFLAGS = -Wall -Werror -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
@@
-20,20
+20,21
@@
endif
configure: configure-stamp
configure-stamp:
dh_testdir
configure: configure-stamp
configure-stamp:
dh_testdir
- # Add here commands to configure the package.
-
+ ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
touch configure-stamp
build: build-stamp
build-stamp: configure-stamp
dh_testdir
touch configure-stamp
build: build-stamp
build-stamp: configure-stamp
dh_testdir
+ $(MAKE)
touch build-stamp
clean:
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
touch build-stamp
clean:
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
+ [ ! -f Makefile ] || $(MAKE) distclean
dh_clean
install: build
dh_clean
install: build