aboutsummaryrefslogtreecommitdiffstats
path: root/src/gtk-redshift
diff options
context:
space:
mode:
authorJon Lund Steffensen <jonlst@gmail.com>2010-02-11 23:15:01 +0100
committerJon Lund Steffensen <jonlst@gmail.com>2010-02-11 23:15:01 +0100
commit2c877b3db01e21be5c4796238e4053f8abb04abf (patch)
treed229297963b2b82fbd850450c3adfef9c6177393 /src/gtk-redshift
parentgtk-redshift: Use absolute path when launching redshift process. (diff)
downloadredshift-ng-2c877b3db01e21be5c4796238e4053f8abb04abf.tar.gz
redshift-ng-2c877b3db01e21be5c4796238e4053f8abb04abf.tar.bz2
redshift-ng-2c877b3db01e21be5c4796238e4053f8abb04abf.tar.xz
Switch to heirarchial makefiles. Seems to be the only way to make
distcheck happy :(
Diffstat (limited to 'src/gtk-redshift')
-rw-r--r--src/gtk-redshift/Makefile.am19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/gtk-redshift/Makefile.am b/src/gtk-redshift/Makefile.am
new file mode 100644
index 0000000..d0d8695
--- /dev/null
+++ b/src/gtk-redshift/Makefile.am
@@ -0,0 +1,19 @@
+
+if ENABLE_GTK
+gtk_redshift_PYTHON = \
+ __init__.py \
+ statusicon.py
+nodist_gtk_redshift_PYTHON = \
+ defs.py
+gtk_redshiftdir = $(pythondir)/gtk_redshift
+
+dist_bin_SCRIPTS = gtk-redshift
+EXTRA_DIST = defs.py.in
+endif
+
+CLEANFILES = defs.py
+
+# Local python definitions
+defs.py: defs.py.in
+ sed -e "s|\@bindir\@|$(bindir)|g" \
+ -e "s|\@localedir\@|$(localedir)|g" $< > $@