| 1 |
From: Julian Ospald <hasufell@gentoo.org> |
| 2 |
Date: Fri Jul 20 17:59:51 UTC 2012 |
| 3 |
Subject: gentoo-specific patch to support multiple python abis |
| 4 |
|
| 5 |
--- src/gtk-redshift/Makefile.am |
| 6 |
+++ src/gtk-redshift/Makefile.am |
| 7 |
@@ -1,21 +1,9 @@ |
| 8 |
|
| 9 |
-if ENABLE_GUI |
| 10 |
-gtk_redshift_PYTHON = \ |
| 11 |
- __init__.py \ |
| 12 |
- utils.py \ |
| 13 |
- statusicon.py |
| 14 |
-nodist_gtk_redshift_PYTHON = \ |
| 15 |
- defs.py |
| 16 |
gtk_redshiftdir = $(pythondir)/gtk_redshift |
| 17 |
|
| 18 |
dist_bin_SCRIPTS = gtk-redshift |
| 19 |
-endif |
| 20 |
- |
| 21 |
-EXTRA_DIST = defs.py.in |
| 22 |
-CLEANFILES = defs.py |
| 23 |
- |
| 24 |
|
| 25 |
# Local python definitions |
| 26 |
-defs.py: defs.py.in |
| 27 |
+all-local: defs.py.in |
| 28 |
sed -e "s|\@bindir\@|$(bindir)|g" \ |
| 29 |
- -e "s|\@localedir\@|$(localedir)|g" $< > $@ |
| 30 |
+ -e "s|\@localedir\@|$(localedir)|g" $< > defs.py |