This repository has been archived on 2024-10-26. You can view files and clone it, but cannot push or open issues or pull requests.
cups/Makefile
Robert Kaussow 10b9674a06
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
fix: fix german localization template (#7)
Co-authored-by: Robert Kaussow <xoxys@rknet.org>
Co-committed-by: Robert Kaussow <xoxys@rknet.org>
2021-12-16 11:22:09 +01:00

20 lines
445 B
Makefile

WORKDIR := /drone/src
BASEDIR := dist
.PHONY: all
all: prepare build
.PHONY: prepare
prepare:
mkdir -p $(WORKDIR)/$(BASEDIR)/{BUILD,RPMS,SOURCES,SPECS,SRPMS}; \
rsync -avHAX -q --ignore-missing-args $(WORKDIR)/patches/ $(WORKDIR)/$(BASEDIR)/SOURCES/
.PHONY: build
build:
source $(WORKDIR)/.drone.env && \
rpmbuild -ba --without libusb1 --define "version_ $${CUPS_VERSION##v}" cups.spec
.PHONY: clean
clean:
rm -rf $(WORKDIR)/$(BASEDIR)