unrpm \
$(DESTDIR)$(pkglibdir)
install -m644 Build/*.pm $(DESTDIR)$(pkglibdir)/Build
+ install -m644 qemu-reg $(DESTDIR)$(pkglibdir)
install -m644 *.pm baselibs_global*.conf $(DESTDIR)$(pkglibdir)
install -m644 configs/* $(DESTDIR)$(pkglibdir)/configs
install -m644 build.1 $(DESTDIR)$(man1dir)
ln -sf $(pkglibdir)/vc $(DESTDIR)$(bindir)/buildvc
ln -sf $(pkglibdir)/unrpm $(DESTDIR)$(bindir)/unrpm
+# Allow initvm to be packaged seperately from the rest of build. This
+# is useful because it is distributed as a static binary package (e.g.
+# build-initvm-static) whereas the build scripts package is noarch.
+
+initvm: initvm.c
+ $(CC) -o $@ -static $(CFLAGS) initvm.c
+
+initvm-all: initvm
+
+initvm-build: initvm
+
+initvm-install: initvm
+ install -m755 -d $(DESTDIR)$(pkglibdir)
+ install -m755 initvm $(DESTDIR)$(pkglibdir)/initvm
+
+
dist:
ifeq ($(SCM),svn)
rm -rf $(BUILD)-$(VERSION)$(SVNVER)