Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
43 lines (33 sloc) 1011 Bytes
DISTRIBUTIONS = debian ubuntu
CHROOT_BASE = /var/lib/chroot
ARCHITECTURES = amd64
CODES = squeeze wheezy unstable lucid maverick
all:
release: build update sign upload
remove-existing-packages:
for distribution in $(DISTRIBUTIONS); do \
find $${distribution}/pool -type f -delete; \
done
ensure-rsync-path:
@if test -z "$(RSYNC_PATH)"; then \
echo "--with-rsync-path configure option must be specified."; \
false; \
fi
download: ensure-rsync-path
for distribution in $(DISTRIBUTIONS); do \
rsync -avz $(RSYNC_PATH)/$${distribution}/ $${distribution}; \
done
update:
./update-repository.sh '$(PACKAGE_NAME)' '$(ARCHITECTURES)' '$(CODES)'
sign:
./sign-repository.sh '$(CODES)'
upload: ensure-rsync-path
for distribution in $(DISTRIBUTIONS); do \
(cd $${distribution}; \
rsync -avz --delete \
dists pool $(RSYNC_PATH)/$${distribution}); \
done
build:
./build-in-chroot.sh \
$(PACKAGE) $(VERSION) $(CHROOT_BASE) \
'$(ARCHITECTURES)' '$(CODES)'
Something went wrong with that request. Please try again.