blob: c09144b5ee7db5ece82f71235dc8e4f31566e73a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
version = 0.1.0
project = ldetect-lst
prefix = /usr
datadir = $(prefix)/share
dir = $(datadir)/$(project)
build:
clean:
rm -f *~
install: build
install -d $(dir)
install -m 644 pcitable $(dir)
rpm: clean $(RPM)
(echo "# !! DON'T MODIFY HERE, MODIFY IN THE CVS !!" ; \
echo "%define version $(version)" ; \
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
|