Skip to content

Commit

Permalink
Merge branch 'bwipp:master' into optimal-maxicode
Browse files Browse the repository at this point in the history
  • Loading branch information
lyngklip authored Nov 6, 2024
2 parents d8461ff + 41f93c4 commit e4908aa
Show file tree
Hide file tree
Showing 124 changed files with 15 additions and 15 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
src/*.d
src/*.ps.d
build/monolithic/
build/monolithic_package/
build/packaged_resource/
build/resource/
build/release/
build/standalone/
build/standalone_package/
.travis/GITHUBTOKEN
libs/docs/html/
23 changes: 12 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ DSTDIR = build
CHANGES_FILE=CHANGES
VERSION:=$(shell head -n 1 $(CHANGES_FILE))

SOURCES:=$(wildcard $(SRCDIR)/*.ps)
SOURCES:=$(wildcard $(SRCDIR)/*.ps.src)

DOCNAMES:=$(notdir $(wildcard $(DOCDIR)/*))

TARGETS:=$(basename $(notdir $(SOURCES)))
TARGETS:=$(notdir $(SOURCES:.ps.src=))
TARGETS:=$(filter-out preamble, $(TARGETS))

UPR_FILE = $(SRCDIR)/uk.co.terryburton.bwipp.upr
Expand Down Expand Up @@ -124,12 +125,12 @@ clean:
test: all
tests/run_tests

$(SRCDIR)/%.d: $(SRCDIR)/%.ps $(UPR_FILE)
$(SRCDIR)/%.ps.d: $(SRCDIR)/%.ps.src $(UPR_FILE)
$(DSTDIR)/make_deps.pl $< $(addsuffix /Resource,$(RESDIR) $(PACKAGEDIR)) >$@
cleanlist += ${SOURCES:.ps=.d}
cleanlist += ${SOURCES:.ps.src=.ps.d}

ifneq "$(MAKECMDGOALS)" "clean"
-include ${SOURCES:.ps=.d}
-include ${SOURCES:.ps.src=.ps.d}
endif

#------------------------------------------------------------
Expand All @@ -140,10 +141,10 @@ $(RESMKDIRSTAMP):
mkdir -p $(RESMKDIRS)
touch $@

$(RESDIR)/Resource/uk.co.terryburton.bwipp/%: $(SRCDIR)/%.ps $(SRCDIR)/ps.head $(CHANGES_FILE) $(RESMKDIRSTAMP)
$(RESDIR)/Resource/uk.co.terryburton.bwipp/%: $(SRCDIR)/%.ps.src $(SRCDIR)/ps.head $(CHANGES_FILE) $(RESMKDIRSTAMP)
$(DSTDIR)/make_resource.pl $< $@

$(RESDIR)/Resource/Category/uk.co.terryburton.bwipp: $(SRCDIR)/preamble.ps $(SRCDIR)/ps.head $(CHANGES_FILE) $(RESMKDIRSTAMP)
$(RESDIR)/Resource/Category/uk.co.terryburton.bwipp: $(SRCDIR)/preamble.ps.src $(SRCDIR)/ps.head $(CHANGES_FILE) $(RESMKDIRSTAMP)
$(DSTDIR)/make_resource.pl $< $@

$(RESDIR)/Resource/uk.co.terryburton.bwipp.upr: $(UPR_FILE) $(RESMKDIRSTAMP)
Expand All @@ -167,10 +168,10 @@ $(PACKAGEMKDIRSTAMP):
mkdir -p $(PACKAGEMKDIRS)
touch $@

$(PACKAGEDIR)/Resource/uk.co.terryburton.bwipp/%: $(SRCDIR)/%.ps $(SRCDIR)/ps.head $(CHANGES_FILE) $(PACKAGEMKDIRSTAMP)
$(PACKAGEDIR)/Resource/uk.co.terryburton.bwipp/%: $(SRCDIR)/%.ps.src $(SRCDIR)/ps.head $(CHANGES_FILE) $(PACKAGEMKDIRSTAMP)
$(DSTDIR)/make_resource.pl $< $@

$(PACKAGEDIR)/Resource/Category/uk.co.terryburton.bwipp: $(SRCDIR)/preamble.ps $(SRCDIR)/ps.head $(CHANGES_FILE) $(PACKAGEMKDIRSTAMP)
$(PACKAGEDIR)/Resource/Category/uk.co.terryburton.bwipp: $(SRCDIR)/preamble.ps.src $(SRCDIR)/ps.head $(CHANGES_FILE) $(PACKAGEMKDIRSTAMP)
$(DSTDIR)/make_resource.pl $< $@

$(PACKAGEDIR)/Resource/uk.co.terryburton.bwipp.upr: $(UPR_FILE) $(PACKAGEMKDIRSTAMP)
Expand Down Expand Up @@ -234,7 +235,7 @@ $(STANDALONE_MKDIRSTAMP):
mkdir -p $(STANDALONE_MKDIRS)
touch $@

$(STANDALONE_DIR)/%.ps: $(MONOLITHIC_FILE) $(SRCDIR)/%.ps $(SRCDIR)/ps.head $(CHANGES_FILE) $(STANDALONE_MKDIRSTAMP)
$(STANDALONE_DIR)/%.ps: $(MONOLITHIC_FILE) $(SRCDIR)/%.ps.src $(SRCDIR)/ps.head $(CHANGES_FILE) $(STANDALONE_MKDIRSTAMP)
$(DSTDIR)/make_standalone.pl $< $@

#------------------------------------------------------------
Expand All @@ -243,7 +244,7 @@ $(STANDALONE_PACKAGE_MKDIRSTAMP):
mkdir -p $(STANDALONE_PACKAGE_MKDIRS)
touch $@

$(STANDALONE_PACKAGE_DIR)/%.ps: $(MONOLITHIC_PACKAGE_FILE) $(SRCDIR)/%.ps $(SRCDIR)/ps.head $(CHANGES_FILE) $(STANDALONE_PACKAGE_MKDIRSTAMP)
$(STANDALONE_PACKAGE_DIR)/%.ps: $(MONOLITHIC_PACKAGE_FILE) $(SRCDIR)/%.ps.src $(SRCDIR)/ps.head $(CHANGES_FILE) $(STANDALONE_PACKAGE_MKDIRSTAMP)
$(DSTDIR)/make_standalone.pl $< $@

#------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions build/make_monolithic.pl
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@

while ($upr =~ /^(.*)=(.*)$/mg) {

my $srcfile = "src/$1.ps";
$srcfile = 'src/preamble.ps' if $1 eq 'uk.co.terryburton.bwipp';
my $srcfile = "src/$1.ps.src";
$srcfile = 'src/preamble.ps.src' if $1 eq 'uk.co.terryburton.bwipp';
my $resfile = "$resourcedir/$2";

open($fh, '<', $srcfile) || die "Unable to open source file: $srcfile";
Expand Down
Binary file renamed src/auspost.ps → src/auspost.ps.src
Binary file not shown.
Binary file renamed src/azteccode.ps → src/azteccode.ps.src
Binary file not shown.
Binary file not shown.
Binary file renamed src/aztecrune.ps → src/aztecrune.ps.src
Binary file not shown.
Binary file renamed src/bc412.ps → src/bc412.ps.src
Binary file not shown.
Binary file renamed src/channelcode.ps → src/channelcode.ps.src
Binary file not shown.
Binary file renamed src/codablockf.ps → src/codablockf.ps.src
Binary file not shown.
Binary file renamed src/code11.ps → src/code11.ps.src
Binary file not shown.
Binary file renamed src/code128.ps → src/code128.ps.src
Binary file not shown.
Binary file renamed src/code16k.ps → src/code16k.ps.src
Binary file not shown.
Binary file renamed src/code2of5.ps → src/code2of5.ps.src
Binary file not shown.
Binary file renamed src/code32.ps → src/code32.ps.src
Binary file not shown.
Binary file renamed src/code39.ps → src/code39.ps.src
Binary file not shown.
Binary file renamed src/code39ext.ps → src/code39ext.ps.src
Binary file not shown.
Binary file renamed src/code49.ps → src/code49.ps.src
Binary file not shown.
Binary file renamed src/code93.ps → src/code93.ps.src
Binary file not shown.
Binary file renamed src/code93ext.ps → src/code93ext.ps.src
Binary file not shown.
Binary file renamed src/codeone.ps → src/codeone.ps.src
Binary file not shown.
Binary file renamed src/coop2of5.ps → src/coop2of5.ps.src
Binary file not shown.
Binary file renamed src/daft.ps → src/daft.ps.src
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed src/databarlimited.ps → src/databarlimited.ps.src
Binary file not shown.
Binary file not shown.
Binary file renamed src/databaromni.ps → src/databaromni.ps.src
Binary file not shown.
Binary file not shown.
Binary file renamed src/databarstacked.ps → src/databarstacked.ps.src
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed src/datalogic2of5.ps → src/datalogic2of5.ps.src
Binary file not shown.
Binary file renamed src/datamatrix.ps → src/datamatrix.ps.src
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed src/dotcode.ps → src/dotcode.ps.src
Binary file not shown.
Binary file renamed src/ean13.ps → src/ean13.ps.src
Binary file not shown.
Binary file renamed src/ean13composite.ps → src/ean13composite.ps.src
Binary file not shown.
Binary file renamed src/ean14.ps → src/ean14.ps.src
Binary file not shown.
Binary file renamed src/ean2.ps → src/ean2.ps.src
Binary file not shown.
Binary file renamed src/ean5.ps → src/ean5.ps.src
Binary file not shown.
Binary file renamed src/ean8.ps → src/ean8.ps.src
Binary file not shown.
Binary file renamed src/ean8composite.ps → src/ean8composite.ps.src
Binary file not shown.
Binary file renamed src/flattermarken.ps → src/flattermarken.ps.src
Binary file not shown.
Binary file renamed src/gs1-128.ps → src/gs1-128.ps.src
Binary file not shown.
Binary file not shown.
Binary file renamed src/gs1-cc.ps → src/gs1-cc.ps.src
Binary file not shown.
Binary file renamed src/gs1datamatrix.ps → src/gs1datamatrix.ps.src
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed src/gs1dlqrcode.ps → src/gs1dlqrcode.ps.src
Binary file not shown.
Binary file renamed src/gs1dotcode.ps → src/gs1dotcode.ps.src
Binary file not shown.
Binary file not shown.
Binary file renamed src/gs1process.ps → src/gs1process.ps.src
Binary file not shown.
Binary file renamed src/gs1qrcode.ps → src/gs1qrcode.ps.src
Binary file not shown.
Binary file renamed src/hanxin.ps → src/hanxin.ps.src
Binary file not shown.
Binary file renamed src/hibcazteccode.ps → src/hibcazteccode.ps.src
Binary file not shown.
Binary file renamed src/hibccodablockf.ps → src/hibccodablockf.ps.src
Binary file not shown.
Binary file renamed src/hibccode128.ps → src/hibccode128.ps.src
Binary file not shown.
Binary file renamed src/hibccode39.ps → src/hibccode39.ps.src
Binary file not shown.
Binary file renamed src/hibcdatamatrix.ps → src/hibcdatamatrix.ps.src
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed src/hibcpdf417.ps → src/hibcpdf417.ps.src
Binary file not shown.
Binary file renamed src/hibcqrcode.ps → src/hibcqrcode.ps.src
Binary file not shown.
Binary file renamed src/iata2of5.ps → src/iata2of5.ps.src
Binary file not shown.
Binary file renamed src/identcode.ps → src/identcode.ps.src
Binary file not shown.
Binary file renamed src/industrial2of5.ps → src/industrial2of5.ps.src
Binary file not shown.
Binary file not shown.
Binary file renamed src/isbn.ps → src/isbn.ps.src
Binary file not shown.
Binary file renamed src/ismn.ps → src/ismn.ps.src
Binary file not shown.
Binary file renamed src/issn.ps → src/issn.ps.src
Binary file not shown.
Binary file renamed src/itf14.ps → src/itf14.ps.src
Binary file not shown.
Binary file renamed src/jabcode.ps → src/jabcode.ps.src
Binary file not shown.
Binary file renamed src/japanpost.ps → src/japanpost.ps.src
Binary file not shown.
Binary file renamed src/kix.ps → src/kix.ps.src
Binary file not shown.
Binary file renamed src/leitcode.ps → src/leitcode.ps.src
Binary file not shown.
Binary file renamed src/loadctx.ps → src/loadctx.ps.src
Binary file not shown.
Binary file renamed src/mailmark.ps → src/mailmark.ps.src
Binary file not shown.
Binary file renamed src/mands.ps → src/mands.ps.src
Binary file not shown.
Binary file renamed src/matrix2of5.ps → src/matrix2of5.ps.src
Binary file not shown.
Binary file renamed src/maxicode.ps → src/maxicode.ps.src
Binary file not shown.
Binary file renamed src/micropdf417.ps → src/micropdf417.ps.src
Binary file not shown.
Binary file renamed src/microqrcode.ps → src/microqrcode.ps.src
Binary file not shown.
Binary file renamed src/msi.ps → src/msi.ps.src
Binary file not shown.
Binary file renamed src/onecode.ps → src/onecode.ps.src
Binary file not shown.
Binary file renamed src/parseinput.ps → src/parseinput.ps.src
Binary file not shown.
Binary file renamed src/pdf417.ps → src/pdf417.ps.src
Binary file not shown.
Binary file renamed src/pdf417compact.ps → src/pdf417compact.ps.src
Binary file not shown.
Binary file renamed src/pharmacode.ps → src/pharmacode.ps.src
Binary file not shown.
Binary file renamed src/pharmacode2.ps → src/pharmacode2.ps.src
Binary file not shown.
Binary file renamed src/planet.ps → src/planet.ps.src
Binary file not shown.
Binary file renamed src/plessey.ps → src/plessey.ps.src
Binary file not shown.
Binary file renamed src/posicode.ps → src/posicode.ps.src
Binary file not shown.
Binary file renamed src/postnet.ps → src/postnet.ps.src
Binary file not shown.
Binary file renamed src/preamble.ps → src/preamble.ps.src
Binary file not shown.
Binary file renamed src/processoptions.ps → src/processoptions.ps.src
Binary file not shown.
Binary file renamed src/pzn.ps → src/pzn.ps.src
Binary file not shown.
Binary file renamed src/qrcode.ps → src/qrcode.ps.src
Binary file not shown.
Binary file renamed src/raiseerror.ps → src/raiseerror.ps.src
Binary file not shown.
Binary file not shown.
Binary file renamed src/raw.ps → src/raw.ps.src
Binary file not shown.
Binary file not shown.
Binary file renamed src/renlinear.ps → src/renlinear.ps.src
Binary file not shown.
Binary file renamed src/renmatrix.ps → src/renmatrix.ps.src
Binary file not shown.
Binary file renamed src/renmaximatrix.ps → src/renmaximatrix.ps.src
Binary file not shown.
Binary file renamed src/royalmail.ps → src/royalmail.ps.src
Binary file not shown.
Binary file renamed src/sscc18.ps → src/sscc18.ps.src
Binary file not shown.
Binary file renamed src/swissqrcode.ps → src/swissqrcode.ps.src
Binary file not shown.
Binary file renamed src/symbol.ps → src/symbol.ps.src
Binary file not shown.
Binary file renamed src/telepen.ps → src/telepen.ps.src
Binary file not shown.
Binary file renamed src/telepennumeric.ps → src/telepennumeric.ps.src
Binary file not shown.
Binary file renamed src/ultracode.ps → src/ultracode.ps.src
Binary file not shown.
Binary file renamed src/unloadctx.ps → src/unloadctx.ps.src
Binary file not shown.
Binary file renamed src/upca.ps → src/upca.ps.src
Binary file not shown.
Binary file renamed src/upcacomposite.ps → src/upcacomposite.ps.src
Binary file not shown.
Binary file renamed src/upce.ps → src/upce.ps.src
Binary file not shown.
Binary file renamed src/upcecomposite.ps → src/upcecomposite.ps.src
Binary file not shown.

0 comments on commit e4908aa

Please sign in to comment.