[Pkg-salt-team] Uploaded repository - some issues remain

Joe Healy joehealy at gmail.com
Sun Apr 7 05:56:04 UTC 2013


On Sun, Apr 7, 2013 at 3:23 PM, martin f krafft <madduck at debian.org> wrote:

>
>   override_dh_install:
>     dh_install
>     rm -r debian/tmp/path/to/.DS_store

I've ended up adding this to the override_dh_installdocs part, beneath
the existing js removal bit:

JS_FILES = searchtools doctools sidebar jquery underscore

override_dh_installdocs:
        dh_installdocs
        # Remove embedded copies of javascript libs
        for f in $(JS_FILES) ; do \
                cd debian/salt-doc/usr/share/doc/salt/html/_static/ \
                  && rm $${f}.js \
                  && ln -s ../../../../javascript/sphinxdoc/1.0/$${f}.js . \
                  && cd $(CURDIR) ; \
        done ;
        # Remove stray .DS_Store file
        rm -r debian/salt-doc/usr/share/doc/salt/html/_static/fonts/.DS_Store


>
> Depending on your source package format, this will cause a diff to
> be auto-generated on every package build, which is okay for now.
> Don't use -f as you want this to fail (so you can remove it) once
> the file no longer exists.

I've checked this and it will fail once upstream do their next release
(They've already removed the file).

Thanks,

Joe



More information about the pkg-salt-team mailing list