summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCristian Gafton <gafton@redhat.com>2000-01-03 22:49:28 +0000
committerCristian Gafton <gafton@redhat.com>2000-01-03 22:49:28 +0000
commit97ae0ba0dfbc636d8f416c1419779ca513f91e7b (patch)
tree549b920d4aea970f2b358631155c750fedb0d55c
parent5b2b7a2119e72473af2fc85ba063717ac57f0d0b (diff)
downloadanaconda-97ae0ba0dfbc636d8f416c1419779ca513f91e7b.tar.gz
anaconda-97ae0ba0dfbc636d8f416c1419779ca513f91e7b.tar.xz
anaconda-97ae0ba0dfbc636d8f416c1419779ca513f91e7b.zip
work around hard dependency on ..Makefile.inc
-rw-r--r--rpmmodule/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/rpmmodule/Makefile b/rpmmodule/Makefile
index 80f52d96c..7b4520889 100644
--- a/rpmmodule/Makefile
+++ b/rpmmodule/Makefile
@@ -3,7 +3,17 @@
#
# $Id$
-include ../Makefile.inc
+# Try to let other people continue using it
+-include ../Makefile.inc
+
+# If the above did not exist, then hardcode it here
+ifndef PYTHONLIBDIR
+PYTHONLIBDIR = /usr/lib/anaconda
+endif
+ifndef ANACONDADATADIR
+ANACONDADATADIR = /usr/share/anaconda
+endif
+# end of ugly useability hack
PYTHON = $(DESTDIR)/$(PYTHONLIBDIR)