################################################################################
+$(BUILDDIR)/parts/scanbasic.sh: \
+ $(SRCDIR)/scanbasic.sh
+
+ mkdir -p $(@D)
+ ./tools/includer $(SRCDIR)/scanbasic.sh \
+ > $(BUILDDIR)/parts/scanbasic.sh
+
+################################################################################
+
$(PACKAGEDIR)/$(BINDIR)/scantopdf: \
- $(SRCDIR)/scanbasic.sh \
+ $(BUILDDIR)/parts/scanbasic.sh \
$(SRCDIR)/scantopdf
mkdir -p $(@D)
chmod 755 $(PACKAGEDIR)/$(BINDIR)/scantopdf
$(PACKAGEDIR)/$(BINDIR)/scantopdfgray: \
- $(SRCDIR)/scanbasic.sh \
+ $(BUILDDIR)/parts/scanbasic.sh \
$(SRCDIR)/scantopdfgray
mkdir -p $(@D)
chmod 755 $(PACKAGEDIR)/$(BINDIR)/scantopdfgray
$(PACKAGEDIR)/$(BINDIR)/scantopdfbw: \
- $(SRCDIR)/scanbasic.sh \
+ $(BUILDDIR)/parts/scanbasic.sh \
$(SRCDIR)/scantopdfbw
mkdir -p $(@D)
load "/usr/lib/bats/bats-assert/load"
load "/usr/lib/bats/bats-support/load"
- source ./src/scanbasic.sh
+ source ./build/parts/scanbasic.sh
}
@test "should failure optimize input parameter is missing" {