summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-08-27 05:04:39 +0000
committerMatt Wilson <msw@redhat.com>1999-08-27 05:04:39 +0000
commit98646a5a78c3142e51dc9341728af81db26a5701 (patch)
tree119895ed9aa7e300dff99569c0c4c6982ce8b54c /Makefile
parentadca6426e3d7cea55cd6b146cfefc2ddb5dedea8 (diff)
downloadanaconda-98646a5a78c3142e51dc9341728af81db26a5701.tar.gz
anaconda-98646a5a78c3142e51dc9341728af81db26a5701.tar.xz
anaconda-98646a5a78c3142e51dc9341728af81db26a5701.zip
compile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 8ca6e29f7..eb311d513 100644
--- a/Makefile
+++ b/Makefile
@@ -2,9 +2,11 @@ SUBDIRS = rpmmodule isys balkan po libfdisk collage loader stubs kudzu
BUILDONLYSUBDIRS = pump
TOPDIR = ../../..
-CATALOGS = po/anaconda-text.pot
+CATALOGS = po/anaconda.pot
ALLSUBDIRS = $(BUILDONLYSUBDIRS) $(SUBDIRS)
+PYFILES = $(wildcard *.py)
+
all: subdirs _xkb.so $(CATALOGS)
_xkb.so: xkb.c
@@ -27,7 +29,8 @@ install: all
mkdir -p $(DESTDIR)/usr/lib/python1.5/site-packages
mkdir -p $(DESTDIR)/usr/bin/iw
cp -a anaconda $(DESTDIR)/usr/bin
- cp -a *.py $(DESTDIR)/usr/lib/python1.5/site-packages
+ cp -a $(PYFILES) $(DESTDIR)/usr/lib/python1.5/site-packages
+ ./py-compile --basedir $(DESTDIR)/usr/lib/python1.5/site-packages $(PYFILES)
cp -a iw/*.py $(DESTDIR)/usr/bin/iw
cp -a *.py *.so $(DESTDIR)/usr/lib/python1.5/site-packages
for d in $(SUBDIRS); do make TOPDIR=../$(TOPDIR) DESTDIR=`cd $(DESTDIR); pwd` -C $$d install; done