d7d60e7f09
- update WWW to SF - no longer limited to python2.x PR: 239625 Submitted by: Walter Schwarzenfeld <w.schwarzenfeld@utanet.at> Approved by: giacomomariani@yahoo.it (maintainer timeout) Relnotes: https://sourceforge.net/p/fvwm-crystal/code/HEAD/tree/ChangeLog
43 lines
2.5 KiB
Plaintext
43 lines
2.5 KiB
Plaintext
--- Makefile.orig 2015-09-13 17:26:12 UTC
|
|
+++ Makefile
|
|
@@ -16,14 +16,13 @@ install: correctpath install-doc
|
|
|
|
install -m 755 bin/fvwm-crystal.apps bin/fvwm-crystal.wallpaper bin/fvwm-crystal bin/fvwm-crystal.infoline bin/fvwm-crystal.mplayer-wrapper bin/fvwm-crystal.play-movies bin/fvwm-crystal.videomodeswitch- bin/fvwm-crystal.videomodeswitch+ $(DESTDIR)$(prefix)/bin
|
|
install -m 755 tmp/fvwm-crystal.generate-menu $(DESTDIR)$(prefix)/bin
|
|
- cp -d -r fvwm/* $(DESTDIR)$(prefix)/share/fvwm-crystal/fvwm/
|
|
+ cp -r fvwm/* $(DESTDIR)$(prefix)/share/fvwm-crystal/fvwm/
|
|
cp tmp/fvwm-crystal $(DESTDIR)/etc/X11/Sessions
|
|
cp shared/fvwm-crystal.desktop $(DESTDIR)$(prefix)/share/xsessions
|
|
cp shared/fvwm-crystal.sudoers.d $(DESTDIR)/etc/sudoers.d/fvwm-crystal
|
|
chmod 440 $(DESTDIR)/etc/sudoers.d/fvwm-crystal
|
|
|
|
- mkdir -p $(DESTDIR)$(prefix)/share/man/man1
|
|
- cp -d -r man/* $(DESTDIR)$(prefix)/share/man/man1
|
|
+ cp -r man/*.1.gz $(DESTDIR)$(prefix)/man/man1
|
|
# restore the original file; needed for successive run
|
|
cp -f tmp/LastChoosenRecipe fvwm/preferences/LastChoosenRecipe
|
|
|
|
@@ -215,11 +214,11 @@ correctpath:
|
|
cp -f bin/fvwm-crystal.generate-menu tmp
|
|
cp -f shared/fvwm-crystal tmp
|
|
cp -f fvwm/preferences/LastChoosenRecipe tmp
|
|
- sed -i 's:FC_MENUBASEROOT="/usr/share:FC_MENUBASEROOT="$(prefix)/share:' tmp/fvwm-crystal.generate-menu
|
|
- sed -i 's:FC_ICONBASEROOT="/usr/share:FC_ICONBASEROOT="$(prefix)/share:' tmp/fvwm-crystal.generate-menu
|
|
- sed -i 's:SYSPREFS="/usr/share:SYSPREFS="$(prefix)/share:' tmp/fvwm-crystal.generate-menu
|
|
- sed -i 's:/usr/bin:$(prefix)/bin:' tmp/fvwm-crystal
|
|
- sed -i 's:/usr/bin:$(prefix)/bin:' fvwm/preferences/LastChoosenRecipe
|
|
+ sed 's:FC_MENUBASEROOT="/usr/share:FC_MENUBASEROOT="$(prefix)/share:' bin/fvwm-crystal.generate-menu > bin/fvwm-crystal.generate-menu.new
|
|
+ sed 's:FC_ICONBASEROOT="/usr/share:FC_ICONBASEROOT="$(prefix)/share:' bin/fvwm-crystal.generate-menu.new > bin/fvwm-crystal.generate-menu
|
|
+ sed 's:SYSPREFS="/usr/share:SYSPREFS="$(prefix)/share:' tmp/fvwm-crystal.generate-menu
|
|
+ sed 's:/usr/bin:$(prefix)/bin:' tmp/fvwm-crystal
|
|
+ sed 's:/usr/bin:$(prefix)/bin:' fvwm/preferences/LastChoosenRecipe
|
|
|
|
uninstall-doc:
|
|
-rm -rf $(DESTDIR)$(docdir)
|
|
@@ -229,4 +228,4 @@ install-doc:
|
|
mkdir -p $(DESTDIR)$(addondir) $(DESTDIR)$(docdir)/html
|
|
install -m 644 addons/* $(DESTDIR)$(addondir)
|
|
install -m 644 AUTHORS Contribute NEWS ChangeLog Export.README README INSTALL $(DESTDIR)$(docdir)
|
|
- cp -d -r doc/* $(DESTDIR)$(docdir)
|
|
+ cp -r doc/* $(DESTDIR)$(docdir)
|