Ticket #46702: patch-doubleDESTDIR.diff
File patch-doubleDESTDIR.diff, 4.1 KB (added by RJVB (René Bertin), 10 years ago) |
---|
-
Makefile.am
old new 48 48 $(DESTDIR)$(datadir)/pixmaps 49 49 50 50 logme_files += \ 51 $( DESTDIR)$(grop_appsdir)/grop.desktop \52 $( DESTDIR)$(grop_iconsdir)/grop.png51 $(grop_appsdir)/grop.desktop \ 52 $(grop_iconsdir)/grop.png 53 53 54 54 porg_icon_path = \ 55 $( DESTDIR)$(grop_iconsdir)/grop.png55 $(grop_iconsdir)/grop.png 56 56 57 57 else 58 58 -
Makefile.in
old new 79 79 build_triplet = @build@ 80 80 host_triplet = @host@ 81 81 @ENABLE_GROP_TRUE@am__append_1 = \ 82 @ENABLE_GROP_TRUE@ $( DESTDIR)$(grop_appsdir)/grop.desktop \83 @ENABLE_GROP_TRUE@ $( DESTDIR)$(grop_iconsdir)/grop.png82 @ENABLE_GROP_TRUE@ $(grop_appsdir)/grop.desktop \ 83 @ENABLE_GROP_TRUE@ $(grop_iconsdir)/grop.png 84 84 85 85 subdir = doc 86 86 DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ … … 146 146 } 147 147 man5dir = $(mandir)/man5 148 148 am__installdirs = "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(man8dir)" \ 149 "$( DESTDIR)$(grop_appsdir)" "$(DESTDIR)$(grop_iconsdir)" \149 "$(grop_appsdir)" "$(grop_iconsdir)" \ 150 150 "$(DESTDIR)$(pkgdatadir)" 151 151 man8dir = $(mandir)/man8 152 152 NROFF = nroff … … 329 329 @ENABLE_GROP_FALSE@ $(DESTDIR)$(pkgdatadir)/porg.png 330 330 331 331 @ENABLE_GROP_TRUE@porg_icon_path = \ 332 @ENABLE_GROP_TRUE@ $( DESTDIR)$(grop_iconsdir)/grop.png332 @ENABLE_GROP_TRUE@ $(grop_iconsdir)/grop.png 333 333 334 334 logdir = \ 335 335 $(DESTDIR)@LOGDIR@ … … 471 471 @$(NORMAL_INSTALL) 472 472 @list='$(grop_apps_DATA)'; test -n "$(grop_appsdir)" || list=; \ 473 473 if test -n "$$list"; then \ 474 echo " $(MKDIR_P) '$( DESTDIR)$(grop_appsdir)'"; \475 $(MKDIR_P) "$( DESTDIR)$(grop_appsdir)" || exit 1; \474 echo " $(MKDIR_P) '$(grop_appsdir)'"; \ 475 $(MKDIR_P) "$(grop_appsdir)" || exit 1; \ 476 476 fi; \ 477 477 for p in $$list; do \ 478 478 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ 479 479 echo "$$d$$p"; \ 480 480 done | $(am__base_list) | \ 481 481 while read files; do \ 482 echo " $(INSTALL_DATA) $$files '$( DESTDIR)$(grop_appsdir)'"; \483 $(INSTALL_DATA) $$files "$( DESTDIR)$(grop_appsdir)" || exit $$?; \482 echo " $(INSTALL_DATA) $$files '$(grop_appsdir)'"; \ 483 $(INSTALL_DATA) $$files "$(grop_appsdir)" || exit $$?; \ 484 484 done 485 485 486 486 uninstall-grop_appsDATA: 487 487 @$(NORMAL_UNINSTALL) 488 488 @list='$(grop_apps_DATA)'; test -n "$(grop_appsdir)" || list=; \ 489 489 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ 490 dir='$( DESTDIR)$(grop_appsdir)'; $(am__uninstall_files_from_dir)490 dir='$(grop_appsdir)'; $(am__uninstall_files_from_dir) 491 491 install-grop_iconsDATA: $(grop_icons_DATA) 492 492 @$(NORMAL_INSTALL) 493 493 @list='$(grop_icons_DATA)'; test -n "$(grop_iconsdir)" || list=; \ 494 494 if test -n "$$list"; then \ 495 echo " $(MKDIR_P) '$( DESTDIR)$(grop_iconsdir)'"; \496 $(MKDIR_P) "$( DESTDIR)$(grop_iconsdir)" || exit 1; \495 echo " $(MKDIR_P) '$(grop_iconsdir)'"; \ 496 $(MKDIR_P) "$(grop_iconsdir)" || exit 1; \ 497 497 fi; \ 498 498 for p in $$list; do \ 499 499 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ 500 500 echo "$$d$$p"; \ 501 501 done | $(am__base_list) | \ 502 502 while read files; do \ 503 echo " $(INSTALL_DATA) $$files '$( DESTDIR)$(grop_iconsdir)'"; \504 $(INSTALL_DATA) $$files "$( DESTDIR)$(grop_iconsdir)" || exit $$?; \503 echo " $(INSTALL_DATA) $$files '$(grop_iconsdir)'"; \ 504 $(INSTALL_DATA) $$files "$(grop_iconsdir)" || exit $$?; \ 505 505 done 506 506 507 507 uninstall-grop_iconsDATA: 508 508 @$(NORMAL_UNINSTALL) 509 509 @list='$(grop_icons_DATA)'; test -n "$(grop_iconsdir)" || list=; \ 510 510 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ 511 dir='$( DESTDIR)$(grop_iconsdir)'; $(am__uninstall_files_from_dir)511 dir='$(grop_iconsdir)'; $(am__uninstall_files_from_dir) 512 512 install-pkgdataDATA: $(pkgdata_DATA) 513 513 @$(NORMAL_INSTALL) 514 514 @list='$(pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \ … … 571 571 check: check-am 572 572 all-am: Makefile $(MANS) $(DATA) 573 573 installdirs: 574 for dir in "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(man8dir)" "$( DESTDIR)$(grop_appsdir)" "$(DESTDIR)$(grop_iconsdir)" "$(DESTDIR)$(pkgdatadir)"; do \574 for dir in "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(man8dir)" "$(grop_appsdir)" "$(grop_iconsdir)" "$(DESTDIR)$(pkgdatadir)"; do \ 575 575 test -z "$$dir" || $(MKDIR_P) "$$dir"; \ 576 576 done 577 577 install: install-am