]>
git.proxmox.com Git - pmg-gui.git/blob - Makefile
1 PACKAGE
=proxmox-mailgateway-gui
5 DEB
=${PACKAGE}_
${PKGVER}-${PKGREL}_all.deb
9 DOCDIR
=${DESTDIR}/usr
/share
/doc
/${PACKAGE}
11 WWWBASEDIR
=${DESTDIR}/usr
/share
/javascript
/${PACKAGE}
12 WWWCSSDIR
=${WWWBASEDIR}/css
13 WWWIMAGESDIR
=${WWWBASEDIR}/images
14 WWWJSDIR
=${WWWBASEDIR}/js
25 cd build
; dpkg-buildpackage
-b
-us
-uc
29 install -d
-m
755 ${WWWCSSDIR}
30 install -d
-m
755 ${WWWIMAGESDIR}
31 install -d
-m
755 ${WWWJSDIR}
32 install -m
0644 index.html
${WWWBASEDIR}
33 for i in
${IMAGES}; do
install -m
0644 images
/$$i ${WWWIMAGESDIR}; done
37 # fixme tar cf - ${DEB} | ssh repoman@repo.proxmox.com upload
40 rm -f examples
/simple-demo.pem
43 rm -rf .
/build
*.deb
*.changes
44 find .
-name
'*~' -exec
rm {} ';'