Skip to content

Commit

Permalink
0.8c
Browse files Browse the repository at this point in the history
  • Loading branch information
rudojaksa committed Jun 30, 2024
1 parent 27629ee commit 20fe0ef
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 26 deletions.
16 changes: 8 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PACKAGE := pcpp
VERSION := 0.8
AUTHOR := R.Jaksa 2008,2024 GPLv3
SUBVERSION := b
SUBVERSION := c

SHELL := /bin/bash
PATH := usr/bin:$(PATH)
Expand All @@ -15,9 +15,9 @@ DOC := $(BIN:%=%.md)

all: $(BIN) $(DOC)

$(BIN): %: %.pl .%.d .version.pl .built.%.pl Makefile
$(BIN): %: %.pl .%.d .version.pl .%.built.pl Makefile
echo -e '#!/usr/bin/perl' > $@
echo -e "# $@ generated from $(PKGNAME)/$< $(DATE)\n" >> $@
echo -e "# $@ generated from $(PKGNAME)/$< $(DATE)" >> $@
usr/bin/pcpp $< >> $@
chmod 755 $@
@sync # to ensure pcpp is saved before used in the next rule
Expand All @@ -36,12 +36,12 @@ $(DOC): %.md: %
@echo 'our $$SUBVERSION = "$(SUBVERSION)";' >> $@
@echo "update $@"

.PRECIOUS: .built.%.pl
.built.%.pl: %.pl .version.pl Makefile
.PRECIOUS: .%.built.pl
.%.built.pl: %.pl .version.pl Makefile
@echo 'our $$BUILT = "$(DATE)";' > $@
@echo "update $@"

# /map install
# /map install, requires /map directory and getversion and mapinstall tools
ifneq ($(wildcard /map),)
install: $(BIN) $(DOC) README.md
mapinstall -v /box/$(PROJECT)/$(PKGNAME) /map/$(PACKAGE) bin $(BIN)
Expand All @@ -59,11 +59,11 @@ copy:

clean:
rm -f .version.pl
rm -f .built.*.pl
rm -f .*.built.pl
rm -f $(DEP)

mrproper: clean
rm -rf doc $(BIN)
rm -rf $(DOC) $(BIN)

-include $(DEP)
-include ~/.github/Makefile.git
13 changes: 6 additions & 7 deletions pcpp
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
#!/usr/bin/perl
# pcpp generated from pcpp-0.8b/pcpp.pl 2024-06-30


# included ".built.pcpp.pl"
our $BUILT = "2024-06-30";
# end ".built.pcpp.pl"
# pcpp generated from pcpp-0.8c/pcpp.pl 2024-06-30

# included ".version.pl"
our $PACKAGE = "pcpp";
our $VERSION = "0.8";
our $AUTHOR = "R.Jaksa 2008,2024 GPLv3";
our $SUBVERSION = "b";
our $SUBVERSION = "c";
# end ".version.pl"

# included ".pcpp.built.pl"
our $BUILT = "2024-06-30";
# end ".pcpp.built.pl"

$HELP=<<EOF;
NAME
Expand Down
2 changes: 1 addition & 1 deletion pcpp.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,5 @@ Simple Perl/Python/C/C++ preprocessor for in-comment directives.
pcpp -d pcpp pcpp.pl > .pcpp.d

### VERSION
pcpp-0.8b R.Jaksa 2008,2024 GPLv3 built 2024-06-30
pcpp-0.8c R.Jaksa 2008,2024 GPLv3 built 2024-06-30

2 changes: 1 addition & 1 deletion pcpp.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# include .built.pcpp.pl .version.pl
# include .version.pl .pcpp.built.pl

$HELP=<<EOF;
Expand Down
13 changes: 6 additions & 7 deletions uninclude
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
#!/usr/bin/perl
# uninclude generated from pcpp-0.8b/uninclude.pl 2024-06-30


# included ".built.uninclude.pl"
our $BUILT = "2024-06-30";
# end ".built.uninclude.pl"
# uninclude generated from pcpp-0.8c/uninclude.pl 2024-06-30

# included ".version.pl"
our $PACKAGE = "pcpp";
our $VERSION = "0.8";
our $AUTHOR = "R.Jaksa 2008,2024 GPLv3";
our $SUBVERSION = "b";
our $SUBVERSION = "c";
# end ".version.pl"

# included ".uninclude.built.pl"
our $BUILT = "2024-06-30";
# end ".uninclude.built.pl"

$HELP=<<EOF;
NAME
Expand Down
2 changes: 1 addition & 1 deletion uninclude.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ but they are flattened to a single level direct includes.
-ni Don't return back #include statements.

### VERSION
pcpp-0.8b R.Jaksa 2008,2024 GPLv3 built 2024-06-30
pcpp-0.8c R.Jaksa 2008,2024 GPLv3 built 2024-06-30

2 changes: 1 addition & 1 deletion uninclude.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# include .built.uninclude.pl .version.pl
# include .version.pl .uninclude.built.pl

$HELP=<<EOF;
Expand Down

0 comments on commit 20fe0ef

Please sign in to comment.