summaryrefslogtreecommitdiff
path: root/timer-applet/src/timerapplet/Makefile.am
blob: 08f474c03ba8d2b9b9ac57a0a05c6b0715635207 (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
SUBDIRS = controllers core ui

defs.py: defs.py.in Makefile
	sed -e "s|\@PACKAGE\@|$(PACKAGE)|" \
	    -e "s|\@VERSION\@|$(VERSION)|" \
	    -e "s|\@RESOURCESDIR\@|$(pkgdatadir)|" \
	    -e "s|\@IMAGESDIR\@|$(datadir)/pixmaps|" \
	    -e "s|\@LOCALEDIR\@|$(localedir)|" \
	    -e "s|\@GETTEXT_PACKAGE\@|$(GETTEXT_PACKAGE)|" $< > $@

EXTRA_DIST = \
	defs.py.in

CLEANFILES = \
	defs.py

# Need this so that defs.py is actually created after cleaning.
BUILT_SOURCES = defs.py

moduledir = $(pythondir)/timerapplet
module_PYTHON = \
	__init__.py \
	config.py \
	defs.py \
	utils.py \
	logger.py