summaryrefslogtreecommitdiff
path: root/app/iceauth/Makefile.am
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2009-10-23 19:59:12 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2009-10-23 19:59:12 +0000
commit04b3bb18506eb105aa140ea39ed8f548b32be41f (patch)
tree904c87888ea594f68573765e761864b903d9d1c7 /app/iceauth/Makefile.am
parentedfc947f2f2437891d5786e011f2d50d9214a1a2 (diff)
update to iceauth 1.0.3
Diffstat (limited to 'app/iceauth/Makefile.am')
-rw-r--r--app/iceauth/Makefile.am22
1 files changed, 19 insertions, 3 deletions
diff --git a/app/iceauth/Makefile.am b/app/iceauth/Makefile.am
index 5afcbd5de..5ac555f0b 100644
--- a/app/iceauth/Makefile.am
+++ b/app/iceauth/Makefile.am
@@ -21,7 +21,7 @@
bin_PROGRAMS = iceauth
-iceauth_CFLAGS = $(ICEAUTH_CFLAGS)
+AM_CFLAGS = $(CWARNFLAGS) $(ICEAUTH_CFLAGS)
iceauth_LDADD = $(ICEAUTH_LIBS)
iceauth_SOURCES = \
@@ -37,9 +37,18 @@ appmandir = $(APP_MAN_DIR)
appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@)
-EXTRA_DIST = $(appman_PRE)
+EXTRA_DIST = $(appman_PRE) ChangeLog autogen.sh
CLEANFILES = $(appman_DATA)
+MAINTAINERCLEANFILES=ChangeLog
+
+.PHONY: ChangeLog
+
+ChangeLog:
+ $(CHANGELOG_CMD)
+
+dist-hook: ChangeLog
+
SED = sed
# Strings to replace in man pages
@@ -62,4 +71,11 @@ MAN_SUBSTS = \
SUFFIXES = .$(APP_MAN_SUFFIX) .man
.man.$(APP_MAN_SUFFIX):
- sed $(MAN_SUBSTS) < $< > $@
+ $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
+
+if LINT
+ALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS)
+lint:
+ $(LINT) $(ALL_LINT_FLAGS) $(iceauth_SOURCES)
+endif LINT