diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2008-04-20 16:36:08 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2008-04-20 16:36:08 +0000 |
commit | 869956e95c111dc12f2411080c446c4f30869963 (patch) | |
tree | 31439bf656da55d50cf2b6ececbc0bc92c780439 /app/xprop/Makefile.am | |
parent | 9b8aded9a19c91688b00e7bf46b0d1e750e6a470 (diff) |
Update to xprop 1.0.4
Diffstat (limited to 'app/xprop/Makefile.am')
-rw-r--r-- | app/xprop/Makefile.am | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/app/xprop/Makefile.am b/app/xprop/Makefile.am index 03e70c68e..d3fc24a16 100644 --- a/app/xprop/Makefile.am +++ b/app/xprop/Makefile.am @@ -21,12 +21,14 @@ bin_PROGRAMS = xprop -xprop_CFLAGS = $(XPROP_CFLAGS) +AM_CFLAGS = $(XPROP_CFLAGS) xprop_LDADD = $(XPROP_LIBS) xprop_SOURCES = \ dsimple.c \ dsimple.h \ + clientwin.c \ + clientwin.h \ xprop.c appman_PRE = \ @@ -37,8 +39,16 @@ 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: + (GIT_DIR=$(top_srcdir)/.git git-log > .changelog.tmp && mv .changelog.tmp ChangeLog; rm -f .changelog.tmp) || (touch ChangeLog; echo 'git directory not found: installing possibly empty changelog.' >&2) + +dist-hook: ChangeLog SED = sed @@ -63,3 +73,11 @@ SUFFIXES = .$(APP_MAN_SUFFIX) .man .man.$(APP_MAN_SUFFIX): sed $(MAN_SUBSTS) < $< > $@ + +if LINT +ALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) + +lint: + $(LINT) $(ALL_LINT_FLAGS) $(xprop_SOURCES) +endif LINT |