summaryrefslogtreecommitdiffstats
path: root/rules/templates/template-image-tgz-make
blob: 1a2cb7a07c2cf05f3263c112430c4122ffe30ad1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# -*-makefile-*-
#
# Copyright (C) @YEAR@ by @AUTHOR@
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

#
# We provide this package
#
IMAGE_PACKAGES-$(PTXCONF_IMAGE_@PACKAGE@_TGZ) += image-@package@-tgz

#
# Paths and names
#
IMAGE_@PACKAGE@_TGZ		:= image-@package@-tgz
IMAGE_@PACKAGE@_TGZ_DIR		:= $(BUILDDIR)/$(IMAGE_@PACKAGE@_TGZ)
IMAGE_@PACKAGE@_TGZ_IMAGE	:= $(IMAGEDIR)/@package@.tgz
IMAGE_@PACKAGE@_TGZ_PKGS	= @PACKAGES@
IMAGE_@PACKAGE@_TGZ_FILES	= @FILES@

# ----------------------------------------------------------------------------
# Image
# ----------------------------------------------------------------------------

$(IMAGE_@PACKAGE@_TGZ_IMAGE):
	@$(call targetinfo)
	@$(call image/archive, IMAGE_@PACKAGE@_TGZ)
	@$(call finish)

# vim: syntax=make