[Pkg-salt-team] Uploaded repository - some issues remain
Franklin G. Mendoza
franklin.g.mendoza at gmail.com
Sun Apr 7 05:59:08 UTC 2013
Hi fellas,
Joe i was doing the same, this work for you?
Cheers,
Franklin
2013/4/7 Joe Healy <joehealy at gmail.com>:
> 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
>
> _______________________________________________
> pkg-salt-team mailing list
> pkg-salt-team at lists.alioth.debian.org
> https://lists.alioth.debian.org/mailman/listinfo/pkg-salt-team
More information about the pkg-salt-team
mailing list