Statistics
| Revision:

root / trunk / scripts / installers / dpkg / GNUmakefile @ 2137

History | View | Annotate | Download (367 Bytes)

1
all:
2
	$(MAKE) clean
3
	$(MAKE) admb_11.1.deb
4

    
5
admb_11.1.deb: admb_11.1
6
	dpkg-deb --build $^
7

    
8
admb_11.1: control
9
	mkdir -p $@/usr/local/bin
10
	cp -Rvf ../../../build/dist $@/usr/local/admb
11
	pushd $@/usr/local/bin; ln -sf ../admb/bin/admb admb; popd
12
	ls -al $@/usr/local/bin/*
13
	mkdir -p $@/DEBIAN
14
	cp -vf control $@/DEBIAN
15

    
16
clean:
17
	rm -rvf admb_11.1
18
	rm -rvf admb_11.1.deb