summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 958b3b982e31f67488e20ceee4df7d942827cf9b (plain)
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
SUBDIRS = pm man src

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = pm-utils.pc

dist_doc_DATA = README			\
		README.debugging	\
	        README.distributions

EXTRA_DIST = ChangeLog

.PHONY: ChangeLog
ChangeLog:
	@if test -d $(srcdir)/.git; then \
	  echo git --git-dir="$(srcdir)/.git" log > $@; \
	  git --git-dir="$(srcdir)/.git" log > $@; \
	elif test -f $(srcdir)/ChangeLog; then \
	  touch $(srcdir)/$@; \
	else \
	  touch $@; \
	fi

dist-hook: ChangeLog

MAINTAINERCLEANFILES = ChangeLog

clean-local :
	rm -f *~