summaryrefslogtreecommitdiff
blob: 34ed52faccbf2e7344b8d56485ab5c6902390bd3 (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
29
30
From: Julian Ospald <hasufell@gentoo.org>
Date: Fri Jul 20 17:59:51 UTC 2012
Subject: gentoo-specific patch to support multiple python abis

--- src/gtk-redshift/Makefile.am
+++ src/gtk-redshift/Makefile.am
@@ -1,21 +1,9 @@
 
-if ENABLE_GUI
-gtk_redshift_PYTHON = \
-	__init__.py \
-	utils.py \
-	statusicon.py
-nodist_gtk_redshift_PYTHON = \
-	defs.py
 gtk_redshiftdir = $(pythondir)/gtk_redshift
 
 dist_bin_SCRIPTS = gtk-redshift
-endif
-
-EXTRA_DIST = defs.py.in
-CLEANFILES = defs.py
-
 
 # Local python definitions
-defs.py: defs.py.in
+all-local: defs.py.in
 	sed -e "s|\@bindir\@|$(bindir)|g" \
-		-e "s|\@localedir\@|$(localedir)|g" $< > $@
+		-e "s|\@localedir\@|$(localedir)|g" $< > defs.py