Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 148644 | Differences between
and this patch

Collapse All | Expand All

(-)qmc2/Makefile.orig (-3 / +3 lines)
Lines 272-278 endif Link Here
272
272
273
install: bin
273
install: bin
274
	@echo "Installing QMC2 v$(VERSION)"
274
	@echo "Installing QMC2 v$(VERSION)"
275
	@$(MKDIR) $(DESTDIR)/$(PREFIX)/bin $(DESTDIR)/$(PREFIX)/share/$(PROJECT) $(DESTDIR)/$(SYSCONFDIR)/$(PROJECT)
275
	@$(MKDIR) $(DESTDIR)/$(PREFIX)/bin $(DESTDIR)/$(DATADIR)/$(PROJECT) $(DESTDIR)/$(SYSCONFDIR)/$(PROJECT)
276
	@$(RM) -f $(DESTDIR)/$(PREFIX)/bin/$(PROJECT)
276
	@$(RM) -f $(DESTDIR)/$(PREFIX)/bin/$(PROJECT)
277
	@$(RSYNC) --exclude '*svn*' ./$(TARGET_NAME) $(DESTDIR)/$(PREFIX)/bin
277
	@$(RSYNC) --exclude '*svn*' ./$(TARGET_NAME) $(DESTDIR)/$(PREFIX)/bin
278
	@(cd $(DESTDIR)/$(PREFIX)/bin/ && $(LN) -s $(TARGET_NAME) $(PROJECT))
278
	@(cd $(DESTDIR)/$(PREFIX)/bin/ && $(LN) -s $(TARGET_NAME) $(PROJECT))
Lines 285-294 install: bin Link Here
285
	@if [ -f $(GLOBAL_QMC2_INI) ] ; then \
285
	@if [ -f $(GLOBAL_QMC2_INI) ] ; then \
286
	  echo "Preserving system-wide configuration in $(GLOBAL_QMC2_INI)" ; \
286
	  echo "Preserving system-wide configuration in $(GLOBAL_QMC2_INI)" ; \
287
	  echo "Installing new system-wide configuration as $(GLOBAL_QMC2_INI).new" ; \
287
	  echo "Installing new system-wide configuration as $(GLOBAL_QMC2_INI).new" ; \
288
	  $(SED) -e "s_DATADIR_$(DATADIR)_g" < ./inst/$(PROJECT).ini.template > $(GLOBAL_QMC2_INI).new ; \
288
	  $(SED) -e "s:DATADIR:$(DATADIR):g" < ./inst/$(PROJECT).ini.template > $(GLOBAL_QMC2_INI).new ; \
289
	else \
289
	else \
290
	  echo "Installing system-wide configuration as $(GLOBAL_QMC2_INI)" ; \
290
	  echo "Installing system-wide configuration as $(GLOBAL_QMC2_INI)" ; \
291
	  $(SED) -e "s_DATADIR_$(DATADIR)_g" < ./inst/$(PROJECT).ini.template > $(GLOBAL_QMC2_INI) ; \
291
	  $(SED) -e "s:DATADIR:$(DATADIR):g" < ./inst/$(PROJECT).ini.template > $(GLOBAL_QMC2_INI) ; \
292
	fi
292
	fi
293
	@echo "Installation complete"
293
	@echo "Installation complete"
294
294

Return to bug 148644