Package migration scripts to /usr/share/koji
In original location it was packages as docs. E.g. in containers it is often installed with --nodocs. Related: https://pagure.io/koji/issue/3762
This commit is contained in:
parent
2fb1a8521a
commit
cc4763f7e7
3 changed files with 15 additions and 5 deletions
|
|
@ -50,10 +50,19 @@ help:
|
|||
clean:
|
||||
rm -rf $(BUILDDIR)/*
|
||||
|
||||
# nothing to install for docs, we package from this dir
|
||||
SQLFILES = $(wildcard *.sql)
|
||||
SQLDIR = /usr/share/koji
|
||||
install:
|
||||
@echo "(no install for docs dir)"
|
||||
@if [ "$(DESTDIR)" = "" ]; then \
|
||||
echo " "; \
|
||||
echo "ERROR: A destdir is required"; \
|
||||
exit 1; \
|
||||
fi
|
||||
|
||||
mkdir -p $(DESTDIR)/$(SQLDIR)
|
||||
for p in $(SQLFILES) ; do \
|
||||
install -p -m 644 $$p $(DESTDIR)/$(SQLDIR)/$$p; \
|
||||
done
|
||||
|
||||
html:
|
||||
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue