summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 8a736045de18550775385177bb754e0c28b6d31c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
include Makefile.config

build: 
	make -C lst build

clean:
	rm -f *~
	make -C lst clean

install: build
	install -d $(dir)
	make -C lst install

rpm: clean $(RPM)
	(echo "# !! DON'T MODIFY HERE, MODIFY IN THE CVS !!" ; \
         cat $(project).spec \
        ) > $(RPM)/SPECS/$(project).spec

	(cd .. ; tar cfj $(RPM)/SOURCES/$(project).tar.bz2 $(project))
	rpm -ba --clean --rmsource --rmspec $(RPM)/SPECS/$(project).spec