Skip to content
This repository has been archived by the owner on Jul 28, 2022. It is now read-only.

Commit

Permalink
test for successful card installation
Browse files Browse the repository at this point in the history
  • Loading branch information
andy5995 committed Apr 24, 2021
1 parent d79f3fa commit 4d56dcc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ CARD_FILES = \
TS.svg \
JS.svg \
QS.svg \
KS.svg \
KS.svg

DOC_FILES = \
README.md \
Expand Down Expand Up @@ -105,6 +105,12 @@ release:
install: release
install -D -s -m 0755 ./target/release/@PACKAGE_TARNAME@ -t $(DESTDIR)@BINDIR@
install -D -m 0644 ./assets/cards/* -t $(DESTDIR)@DATADIR@/@PACKAGE_TARNAME@/cards
for card in $(CARD_FILES); do \
if test ! -r "$(DESTDIR)@DATADIR@/@PACKAGE_TARNAME@/cards/"$$card; then \
echo "card $$card not installed"; \
exit 1; \
fi; \
done
install -D -m 0644 ./@PACKAGE_TARNAME@.appdata.xml -t $(DESTDIR)@DATADIR@/appdata
install -D -m 0644 ./@PACKAGE_TARNAME@.desktop -t $(DESTDIR)@DATADIR@/applications
install -D -m 0644 ./assets/@PACKAGE_TARNAME@.png -t $(DESTDIR)@DATADIR@/pixmaps
Expand Down

0 comments on commit 4d56dcc

Please sign in to comment.