summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: e5f78040b39939cebd38657de86238b479b93a2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
SUBDIRS = rpmmodule isys balkan loader po libfdisk collage
BUILDONLYSUBDIRS = pump

TOPDIR = ../../..
DESTDIR = $(TOPDIR)/RedHat/instimage/usr/bin
CATALOGS = po/anaconda-text.pot
ALLSUBDIRS = $(SUBDIRS) $(BUILDONLYSUBDIRS)

all: subdirs $(CATALOGS)

clean: 
	for d in $(ALLSUBDIRS); do make TOPDIR=../$(TOPDIR) -C $$d clean; done

subdirs:
	for d in $(ALLSUBDIRS); do make TOPDIR=../$(TOPDIR) -C $$d; done

install: all
	mkdir -p $(DESTDIR)
	mkdir -p $(DESTDIR)/iw
	cp -a anaconda *.py $(DESTDIR)
	cp -a iw/*.py $(DESTDIR)/iw
	for d in $(SUBDIRS); do make TOPDIR=../$(TOPDIR) -C $$d install; done