]>
git.proxmox.com Git - aab.git/blob - Makefile
1 TODAY
!= date
'+%Y%m%d'
5 V_ARCH
:= $(VERSION
)_
$(ARCH
)
12 # we should always regenerate this:
15 echo
'Name: archlinux-base' > aab.conf
16 echo
'Version: $(VERSION)' >> aab.conf
17 echo
'Section: system' >> aab.conf
18 echo
'Maintainer: Proxmox Support Team <support@proxmox.com>' >> aab.conf
19 echo
'Source: http://archlinux.cu.be/$$repo/os/$$arch' >> aab.conf
20 echo
'Architecture: $(ARCH)' >> aab.conf
21 echo
'Description: ArchLinux base image.' >> aab.conf
22 echo
" ArchLinux template with the 'base' group and the 'openssh' package installed." >> aab.conf
25 base-
$(ARCH
): aab.conf archlinux-base_
$(V_ARCH
).
tar.gz
27 archlinux-base_
$(V_ARCH
).
tar.gz
: build-current
30 build-current
: check-all
32 $(PERL
) .
/aab bootstrap
33 $(PERL
) .
/aab finalize
38 @which pacman
>/dev
/null ||
(echo Dependency error
:; echo
'Please install the arch-pacman package'; echo
; false
)
42 @
test 0 -eq
"`id -u`" ||
(echo Permission error
:; echo
'aab needs to be run as root'; echo
; false
)
45 check-all
: check-pacman check-root
53 @
$(PERL
) .
/aab dist-clean
54 rm -rf archlinux
*.
tar*