#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
include $(top_srcdir)/subdir-rules.mk
fedora.img: guest-aux/make-fedora-img.sh \
guest-aux/fedora-name.db \
guest-aux/fedora-packages.db
- LIBGUESTFS_PATH=../appliance \
- LD_LIBRARY_PATH=../src/.libs \
+ TMPDIR=$(top_builddir) \
+ SRCDIR=$(srcdir) \
bash $<
guest-aux/fedora-name.db: guest-aux/fedora-name.db.txt
rm -f $@ $@-t
+ mkdir -p guest-aux
$(DB_LOAD) $@-t < $<
mv $@-t $@
guest-aux/fedora-packages.db: guest-aux/fedora-packages.db.txt
rm -f $@ $@-t
+ mkdir -p guest-aux
$(DB_LOAD) $@-t < $<
mv $@-t $@
# Make a (dummy) Debian image.
debian.img: guest-aux/make-debian-img.sh
- LIBGUESTFS_PATH=../appliance \
- LD_LIBRARY_PATH=../src/.libs \
+ TMPDIR=$(top_builddir) \
+ SRCDIR=$(srcdir) \
bash $<
# Make a (dummy) Ubuntu image.
ubuntu.img: guest-aux/make-ubuntu-img.sh
- LIBGUESTFS_PATH=../appliance \
- LD_LIBRARY_PATH=../src/.libs \
+ TMPDIR=$(top_builddir) \
+ SRCDIR=$(srcdir) \
bash $<
# Make a (dummy) Windows image.
windows.img: guest-aux/make-windows-img.sh \
guest-aux/windows-software guest-aux/windows-system
- LIBGUESTFS_PATH=../appliance \
- LD_LIBRARY_PATH=../src/.libs \
+ TMPDIR=$(top_builddir) \
+ SRCDIR=$(srcdir) \
bash $<
# Since users might not have the tools needed to create this, we