Skip to content

Commit 5bcea23

Browse files
author
Heiko Engel
committed
pda->libpda, build pda_kadapter rpm with libpda rpm
1 parent eaba5c0 commit 5bcea23

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Makefile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
DEBUG=true
2-
IPATH=/opt/pda
2+
IPATH=/usr
33

44
all:
55
find . -iname 'build_*' -exec make -C {} \;
@@ -35,16 +35,16 @@ rpm: tarball
3535
./package/rpm/configure --version --prefix=$(IPATH)
3636
cp libpda-`cat VERSION`.tar.gz package/rpm/
3737
make -C package/rpm/
38-
make -C patches/linux_uio rpm
3938
cp ${HOME}/rpmbuild/RPMS/x86_64/libpda-`cat VERSION`*.rpm .
39+
make -C patches/linux_uio rpm
4040
cp ${HOME}/rpmbuild/RPMS/x86_64/pda_kadapter-`uname -r`*.rpm .
4141

4242
tarball: mrproper
4343
rm -rf libpda-`cat VERSION`.tar.gz
4444
tar -cf libpda-`cat VERSION`.tar *
4545
mkdir dist
4646
tar -xf libpda-`cat VERSION`.tar -C dist/
47-
rm -rf dist/pda.cbp dist/pda.layout
47+
rm -rf dist/libpda.cbp dist/libpda.layout
4848
-find ./dist -name '.svn' -exec rm -rf {} \; >> /dev/null
4949
rm -rf libpda-`cat VERSION`.tar
5050
mv dist libpda-`cat VERSION`
@@ -55,6 +55,7 @@ tarball: mrproper
5555
mrproper: clean
5656
$(MAKE) PATH=$(PWD)/opt/bin/:$(PATH) -C ./test/ clean
5757
-rm -rf ./package/rpm/pda.spec
58+
-rm -rf patches/linux_uio/pda_kadapter.spec
5859
-rm -rf build_*
5960
-rm -rf opt
6061
-rm -rf dist
@@ -66,6 +67,7 @@ mrproper: clean
6667
clean:
6768
find . -iname 'build_*' -exec make -C {} clean \;
6869
rm -rf libpda*.tar.gz libpda*.rpm package/rpm/*.tar.gz
70+
rm -rf pda_kadapter*.rpm
6971

7072
count: mrproper
7173
wc -l `find . -iname '*.c' && find . -iname '*.h' && find . -iname '*.inc'`

0 commit comments

Comments
 (0)