SmartAudio/package/minigui/libmgncs/patches/001-init_fix_compile_failed...

15 lines
438 B
Diff
Raw Normal View History

2018-07-13 01:31:50 +00:00
--- a/etc/Makefile.am
+++ b/etc/Makefile.am
@@ -2,9 +2,9 @@
# The directory where the data files will be installed
install-data-local:
- if [ ! -d $(prefix)/etc ]; then $(INSTALL) -d $(prefix)/etc; fi
+ if [ ! -d $(DESTDIR)/$(prefix)/etc ]; then $(INSTALL) -d $(DESTDIR)/$(prefix)/etc; fi
- $(INSTALL_DATA) mgncs.cfg $(prefix)/etc/mgncs.cfg
+ $(INSTALL_DATA) mgncs.cfg $(DESTDIR)/$(prefix)/etc/mgncs.cfg
EXTRA_DIST = mgncs.cfg