summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: c562599a5835e414cd895b886292ef54bf9be233 (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
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}

bin_SCRIPTS = caja-dropbox
CLEANFILES = $(bin_SCRIPTS) caja-dropbox.1 caja-dropbox.txt
EXTRA_DIST = caja-dropbox.in serializeimages.py caja-dropbox.txt.in docgen.py rst2man.py autogen.sh
man_MANS = caja-dropbox.1

caja-dropbox: caja-dropbox.in serializeimages.py
	python serializeimages.py $(PACKAGE_VERSION) $(datadir)/applications < caja-dropbox.in > caja-dropbox
	chmod +x caja-dropbox

caja-dropbox.1: caja-dropbox.txt.in caja-dropbox docgen.py
	python docgen.py $(PACKAGE_VERSION) caja-dropbox.txt.in caja-dropbox.txt
	$(RST2MAN) caja-dropbox.txt > caja-dropbox.1

SUBDIRS = data src

# Build ChangeLog from GIT  history
ChangeLog:
	$(AM_V_GEN) if test -d $(top_srcdir)/.git; then \
		GIT_DIR="$(top_srcdir)/.git" git log --stat > $@; \
	fi

dist: ChangeLog

.PHONY: ChangeLog