On Fri, Feb 21, 2020 at 08:12:37AM +0100, Bruno Thomsen wrote: > Hi > > Den tor. 20. feb. 2020 kl. 12.20 skrev Philipp Zabel <[email protected]>: > > +# > > ---------------------------------------------------------------------------- > > +# Target-Install > > +# > > ---------------------------------------------------------------------------- > > + > > +$(STATEDIR)/zstd.targetinstall: > > + @$(call targetinfo) > > This section did not work in my test as indentation is space and not tab. > > /home/developer/git/ptxdist/rules/zstd.make:55: *** missing separator. Stop.
I got the tabs here, so maybe something went wrong on your side. > > + > > + @$(call install_init, zstd) > > + @$(call install_fixup, zstd, PRIORITY, optional) > > + @$(call install_fixup, zstd, SECTION, base) > > + @$(call install_fixup, zstd, AUTHOR, "Florian Faber > > <[email protected]>") > > + @$(call install_fixup, zstd, DESCRIPTION, missing) > > + > > +ifdef PTXCONF_ZSTD_LIBZSTD > > + $(call install_lib, zstd, 0, 0, 0644, libzstd) > > Target-Install lines normally starts with @, e.g. > @$(call install_lib, zstd, 0, 0, 0644, libzstd) > > Same for the next 6 lines. Indeed. > Bruno > > > +endif > > +ifdef PTXCONF_ZSTD_ZSTD > > + $(call install_copy, zstd, 0, 0, 0755, -, /usr/bin/zstd) > > + $(call install_link, zstd, zstd, /usr/bin/zstdcat) > > + $(call install_link, zstd, zstd, /usr/bin/zstdmt) > > + $(call install_link, zstd, zstd, /usr/bin/unzstd) > > +endif > > +ifdef PTXCONF_ZSTD_ZSTDGREP > > + $(call install_copy, zstd, 0, 0, 0755, -, /usr/bin/zstdgrep) > > +endif > > +ifdef PTXCONF_ZSTD_ZSTDLESS > > + $(call install_copy, zstd, 0, 0, 0755, -, /usr/bin/zstdless) > > +endif > > + > > + @$(call install_finish, zstd) > > + > > + @$(call touch) # vim: syntax=make missing at the end. Michael > > -- > > 2.20.1 > > > > > > _______________________________________________ > > ptxdist mailing list > > [email protected] > > _______________________________________________ > ptxdist mailing list > [email protected] > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list [email protected]
