Use datadir for xpm path

Again, this follows autotools conventions.
This commit is contained in:
Dan Church 2020-03-22 12:21:53 -05:00
parent 223ba3f5e7
commit bc4cacbe47
No known key found for this signature in database
GPG Key ID: EA2BF379CD2CDBD0
2 changed files with 2 additions and 1 deletions

View File

@ -33,5 +33,6 @@ docdir=@docdir@
htmldir=@htmldir@
mandir=@mandir@
bindir=@bindir@
datadir=@datadir@
datarootdir=@datarootdir@
xca_prefix=${datarootdir}/${PACKAGE_TARNAME}

View File

@ -13,7 +13,7 @@ include $(TOPDIR)/Rules.mak
sinclude .depend
install: xca-32x32.xpm
install -D -m 644 $^ $(DESTDIR)$(prefix)/share/pixmaps/xca-32x32.xpm
install -D -m 644 $^ $(DESTDIR)$(datadir)/pixmaps/xca-32x32.xpm
imgres.cpp: imgres.rcc
@$(PRINT) " RCC [$(BASENAME)] $@"