/[public]/qemu-start/trunk/Makefile
ViewVC logotype

Annotation of /qemu-start/trunk/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 293 - (hide annotations)
Sat Feb 11 16:36:12 2006 UTC (18 years, 9 months ago) by frodo
File size: 599 byte(s)
(Frodo) Some work to make the Makefile a bit nicer

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

frodo@frodo.looijaard.name
ViewVC Help
Powered by ViewVC 1.1.26