Commit 2830f8e8 authored by Emanuele Petriglia's avatar Emanuele Petriglia Committed by Sean Davis

Use current branch in 'make distcheck'

parent 79fdbc51
Pipeline #650 passed with stage
in 17 seconds
......@@ -5,6 +5,8 @@ PYTHON=`which @python@`
LANGUAGE_FILES=$(patsubst po/%.po, locale/%/LC_MESSAGES/$(APPNAME).mo, $(wildcard po/*.po))
GIT_BRANCH := $(shell git branch --show-current)
all: $(LANGUAGE_FILES) layouts
intltool-merge -d po xfce4-panel-profiles.desktop
intltool-merge -x po data/metainfo/ \
......@@ -80,7 +82,7 @@ uninstall:
distcheck: all
mkdir -p $(APPNAME)-$(VERSION)
for filename in `git ls-tree -r master --name-only | grep -v git`; do \
for filename in `git ls-tree -r $(GIT_BRANCH) --name-only | grep -v git`; do \
mkdir -p $(APPNAME)-$(VERSION)/`dirname $$filename`; \
cp $$filename $(APPNAME)-$(VERSION)/$$filename; \
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment