make sure pbuilder image is made

This commit is contained in:
Hal Emmerich 2020-05-28 12:06:52 -05:00
parent 40ca73a727
commit d733d84c53
2 changed files with 12 additions and 8 deletions

View File

@ -147,10 +147,14 @@ image:
#:::::::::::::::::::::::::::::: pbuilder management :::::::::::::::::::::::
.PHONY: pbuilder-create
.PHONY: pbuilder_create
pbuilder-create:
$(MAKE) $(PBUILDER_CHROOT)
$(PBUILDER_CHROOT): $(PBUILDER_RC)
pbuilder create --basetgz $(PBUILDER_CHROOT) --configfile $(PBUILDER_RC)
.PHONY: pbuilder-update
#TODO: should only update if not updated for a day
.PHONY: pbuilder_update
pbuilder-update:
pbuilder update --basetgz $(PBUILDER_CHROOT) --configfile $(PBUILDER_RC)

View File

@ -1,12 +1,12 @@
SUBDIRS = $(shell ls -d */)
all:
for dir in $(SUBDIRS) ; do \
make -C $$dir ; \
done
for dir in $(SUBDIRS) ; do \
make -C $$dir ; \
done
clean:
for dir in $(SUBDIRS) ; do \
make clean -C $$dir ; \
done
for dir in $(SUBDIRS) ; do \
make clean -C $$dir ; \
done