4 INSTALL
= /usr
/bin
/install -c
5 INSTALL_PROGRAM
= ${INSTALL}
6 INSTALL_DATA
= ${INSTALL} -m
644
7 INSTALL_SCRIPT
= ${INSTALL_PROGRAM}
9 INSTALL_PYTHON
= ${INSTALL} -m
644
11 python
-c
"import compileall as c; c.compile_dir('$(1)', force=1)"
12 python
-O
-c
"import compileall as c; c.compile_dir('$(1)', force=1)"
14 PYTHONDIR
:= $(shell python
-c
"import distutils.sysconfig as d; print d.get_python_lib()")
19 pod2man
--section
=8 --release
="livecd-tools $(VERSION)" --center
"LiveCD Tools" docs
/livecd-creator.pod
> docs
/livecd-creator
.8
20 pod2man
--section
=8 --release
="livecd-tools $(VERSION)" --center
"LiveCD Tools" docs
/livecd-iso-to-disk.pod
> docs
/livecd-iso-to-disk
.8
24 $(INSTALL_PROGRAM
) -D tools
/livecd-creator
$(DESTDIR
)/usr
/bin
/livecd-creator
25 $(INSTALL_PROGRAM
) -D tools
/liveimage-mount
$(DESTDIR
)/usr
/bin
/liveimage-mount
26 $(INSTALL_PROGRAM
) -D tools
/image-creator
$(DESTDIR
)/usr
/bin
/image-creator
27 $(INSTALL_PROGRAM
) -D tools
/livecd-iso-to-disk.sh
$(DESTDIR
)/usr
/bin
/livecd-iso-to-disk
28 $(INSTALL_PROGRAM
) -D tools
/livecd-iso-to-pxeboot.sh
$(DESTDIR
)/usr
/bin
/livecd-iso-to-pxeboot
29 $(INSTALL_PROGRAM
) -D tools
/mkbiarch.py
$(DESTDIR
)/usr
/bin
/mkbiarch
30 $(INSTALL_DATA
) -D AUTHORS
$(DESTDIR
)/usr
/share
/doc
/livecd-tools-
$(VERSION
)/AUTHORS
31 $(INSTALL_DATA
) -D COPYING
$(DESTDIR
)/usr
/share
/doc
/livecd-tools-
$(VERSION
)/COPYING
32 $(INSTALL_DATA
) -D README
$(DESTDIR
)/usr
/share
/doc
/livecd-tools-
$(VERSION
)/README
33 $(INSTALL_DATA
) -D HACKING
$(DESTDIR
)/usr
/share
/doc
/livecd-tools-
$(VERSION
)/HACKING
34 mkdir
-p
$(DESTDIR
)/usr
/share
/livecd-tools
/
35 mkdir
-p
$(DESTDIR
)/$(PYTHONDIR
)/imgcreate
36 $(INSTALL_PYTHON
) -D imgcreate
/*.py
$(DESTDIR
)/$(PYTHONDIR
)/imgcreate
/
37 $(call COMPILE_PYTHON
,$(DESTDIR
)/$(PYTHONDIR
)/imgcreate
)
38 mkdir
-p
$(DESTDIR
)/usr
/share
/man
/man8
39 $(INSTALL_DATA
) -D docs
/*.8 $(DESTDIR
)/usr
/share
/man
/man8
42 rm -f
$(DESTDIR
)/usr
/bin
/livecd-creator
43 rm -rf
$(DESTDIR
)/usr
/lib
/livecd-creator
44 rm -rf
$(DESTDIR
)/usr
/share
/doc
/livecd-tools-
$(VERSION
)
45 rm -f
$(DESTDIR
)/usr
/bin
/mkbiarch
48 git archive
--format
=tar --prefix=livecd-tools-
$(VERSION
)/ HEAD | bzip2
-9v
> livecd-tools-
$(VERSION
).
tar.bz2
51 git tag
-s
-a
-m
"Tag as livecd-tools-$(VERSION)" livecd-tools-
$(VERSION
)
52 scp livecd-tools-
$(VERSION
).
tar.bz2 fedorahosted.org
:livecd
55 rm -f
*~ creator
/*~ installer
/*~ config
/*~ docs
/*.8