Fixed installation hook for non KDE builds.
parent
318d9037a2
commit
65ef481b53
|
@ -66,11 +66,11 @@ dist-hook:
|
|||
)
|
||||
|
||||
install-data-hook:
|
||||
if [ "$(DESTDIR)/$(kde_datadir)" -a -d $(DESTDIR)/$(kde_datadir)/@PACKAGE@ -a ! -h $(DESTDIR)/$(kde_datadir)/@PACKAGE@ ] ; then \
|
||||
if [ "$(kde_datadir)" -a -d $(DESTDIR)/$(kde_datadir)/@PACKAGE@ -a ! -h $(DESTDIR)/$(kde_datadir)/@PACKAGE@ ] ; then \
|
||||
mv -f -b $(DESTDIR)/$(kde_datadir)/@PACKAGE@/* $(DESTDIR)/$(datadir)/@PACKAGE@/ ; \
|
||||
rmdir $(DESTDIR)/$(kde_datadir)/@PACKAGE@ ; \
|
||||
fi
|
||||
if [ "$(DESTDIR)/$(kde_datadir)" -a ! -h $(DESTDIR)/$(kde_datadir)/@PACKAGE@ ] ; then \
|
||||
if [ "$(kde_datadir)" -a ! -h $(DESTDIR)/$(kde_datadir)/@PACKAGE@ ] ; then \
|
||||
ln -s $(datadir)/@PACKAGE@ $(DESTDIR)/$(kde_datadir)/@PACKAGE@ ; \
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue