File: Makefile

package info (click to toggle)
cyclades-serial-client 0.92
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, jessie, jessie-kfreebsd, lenny, sarge, squeeze, wheezy
  • size: 668 kB
  • ctags: 833
  • sloc: ansic: 9,508; sh: 2,739; makefile: 112
file content (14 lines) | stat: -rw-r--r-- 335 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

all: pkg

INSTROOT=`pwd`/tmp
PKGNAME=cyclades-ser-cli

pkg:
	rm -rf ../tmp
	( cd .. ; ./configure --prefix=${INSTROOT} --mandir=`pwd`/sun/tmp/usr/share/man )
	( cd .. ; make )
	( cd .. ; make prefix=${INSTROOT} install )
	pkgmk -o -r ../tmp
	pkgtrans -s spool ${PKGNAME}.pkg ${PKGNAME}
	echo "/var/spool/pkg/${PKGNAME}.pkg complete!"