Fix makefile formatting

pull/2656/head
Joshua M. Boniface 5 years ago
parent be9eb0f19e
commit fc5e932492

@ -2,27 +2,27 @@ VERSION := $(shell sed -ne '/^Version:/s/.* *//p' fedora/jellyfin.spec)
srpm: srpm:
cd fedora/; \ cd fedora/; \
SOURCE_DIR=.. \ SOURCE_DIR=.. \
WORKDIR="$${PWD}"; \ WORKDIR="$${PWD}"; \
package_temporary_dir="$${WORKDIR}/pkg-dist-tmp"; \ package_temporary_dir="$${WORKDIR}/pkg-dist-tmp"; \
pkg_src_dir="$${WORKDIR}"; \ pkg_src_dir="$${WORKDIR}"; \
GNU_TAR=1; \ GNU_TAR=1; \
tar \ tar \
--transform "s,^\.,jellyfin-server-$(VERSION)," \ --transform "s,^\.,jellyfin-server-$(VERSION)," \
--exclude='.git*' \ --exclude='.git*' \
--exclude='**/.git' \ --exclude='**/.git' \
--exclude='**/.hg' \ --exclude='**/.hg' \
--exclude='**/.vs' \ --exclude='**/.vs' \
--exclude='**/.vscode' \ --exclude='**/.vscode' \
--exclude='deployment' \ --exclude='deployment' \
--exclude='**/bin' \ --exclude='**/bin' \
--exclude='**/obj' \ --exclude='**/obj' \
--exclude='**/.nuget' \ --exclude='**/.nuget' \
--exclude='*.deb' \ --exclude='*.deb' \
--exclude='*.rpm' \ --exclude='*.rpm' \
--exclude='jellyfin-server-$(VERSION).tar.gz' \ --exclude='jellyfin-server-$(VERSION).tar.gz' \
-czf "jellyfin-server-$(VERSION).tar.gz" \ -czf "jellyfin-server-$(VERSION).tar.gz" \
-C $${SOURCE_DIR} ./ -C $${SOURCE_DIR} ./
cd fedora/; \ cd fedora/; \
rpmbuild -bs jellyfin.spec \ rpmbuild -bs jellyfin.spec \
--define "_sourcedir $$PWD/" \ --define "_sourcedir $$PWD/" \

Loading…
Cancel
Save