1 |
frodo |
290 |
PACKAGE=qemu-start |
2 |
|
|
VERSION=1.0 |
3 |
|
|
FILES=AUTHORS COPYING README Makefile qemu-start.c qemu-start.1 |
4 |
|
|
BASENAME=$(PACKAGE)-$(VERSION) |
5 |
|
|
|
6 |
|
|
CFLAGS=-Wall -W |
7 |
|
|
|
8 |
|
|
all: qemu-start |
9 |
|
|
|
10 |
|
|
install: |
11 |
|
|
install -d $(DESTDIR)/usr/bin |
12 |
|
|
install -o root -g emulator -m 4710 qemu-start $(DESTDIR)/usr/bin/ |
13 |
|
|
install -d $(DESTDIR)/usr/share/man/man1 |
14 |
|
|
install -o root -g root -m 755 qemu-start.1 $(DESTDIR)/usr/share/man/man1 |
15 |
|
|
|
16 |
|
|
clean: |
17 |
|
|
$(RM) qemu-start |
18 |
|
|
|
19 |
|
|
package: |
20 |
|
|
ln -s . $(BASENAME) |
21 |
|
|
tar cfvzp $(BASENAME).tar.gz $(addprefix $(BASENAME)/,$(FILES)) |
22 |
|
|
$(RM) $(BASENAME) |