Changeset 28909b72 for Makefile


Ignore:
Timestamp:
08/31/2021 08:39:20 PM (3 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
11.0, 11.1, 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
70d859c8
Parents:
b2054970
Message:

Fix up MimeType entries in .desktop instructions
We aso had a sed in the Makefile that changes text/html.
I changed that to only look at the top 20 lines of each page.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    rb2054970 r28909b72  
    130130      true;                                                       \
    131131      bash obfuscate.sh $$filename;                               \
    132       sed -i -e "s@text/html@application/xhtml+xml@g" $$filename; \
     132      sed -i -e "1,20s@text/html@application/xhtml+xml@g" $$filename; \
    133133   done;
    134134
     
    145145        $(Q)tidy -config tidy.conf $(BASEDIR)/$(NOCHUNKS_OUTPUT) || true
    146146        $(Q)bash obfuscate.sh $(BASEDIR)/$(NOCHUNKS_OUTPUT)
    147         $(Q)sed -i -e "s@text/html@application/xhtml+xml@g" $(BASEDIR)/$(NOCHUNKS_OUTPUT)
     147        $(Q)sed -i -e "1,20s@text/html@application/xhtml+xml@g" $(BASEDIR)/$(NOCHUNKS_OUTPUT)
    148148
    149149tmpdir: $(RENDERTMP)
Note: See TracChangeset for help on using the changeset viewer.