mirror of
https://github.com/jeremysrand/md2teach.git
synced 2024-09-29 06:54:35 +00:00
Add a Read.Me.md file which will be used to document the shell command for the distribution. For now, it is just a skeleton. Use md2teach to convert that markdown file into a Teach file for the distribution. Make running the test.md file through md2teach optional based on a DEBUGBUILD setting in the Makefile.
This commit is contained in:
parent
51f8ff5574
commit
e5e654f5ec
@ -59,6 +59,7 @@
|
|||||||
9D8125E32634AC4A002F05F5 /* translate.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = translate.c; sourceTree = "<group>"; };
|
9D8125E32634AC4A002F05F5 /* translate.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = translate.c; sourceTree = "<group>"; };
|
||||||
9D8125F12634B4D4002F05F5 /* style.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = style.h; sourceTree = "<group>"; };
|
9D8125F12634B4D4002F05F5 /* style.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = style.h; sourceTree = "<group>"; };
|
||||||
9D8125F22634B4D4002F05F5 /* style.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = style.c; sourceTree = "<group>"; };
|
9D8125F22634B4D4002F05F5 /* style.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = style.c; sourceTree = "<group>"; };
|
||||||
|
9DBA97F82682E9EA001C2142 /* Read.Me.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = Read.Me.md; sourceTree = "<group>"; };
|
||||||
9DDFC7B026269D23006D6E71 /* LICENSE */ = {isa = PBXFileReference; lastKnownFileType = text; path = LICENSE; sourceTree = "<group>"; };
|
9DDFC7B026269D23006D6E71 /* LICENSE */ = {isa = PBXFileReference; lastKnownFileType = text; path = LICENSE; sourceTree = "<group>"; };
|
||||||
9DDFC7B126269D3F006D6E71 /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
|
9DDFC7B126269D3F006D6E71 /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
|
||||||
9DDFC7B42627E081006D6E71 /* test.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = test.md; sourceTree = "<group>"; };
|
9DDFC7B42627E081006D6E71 /* test.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = test.md; sourceTree = "<group>"; };
|
||||||
@ -115,6 +116,7 @@
|
|||||||
9D8125F22634B4D4002F05F5 /* style.c */,
|
9D8125F22634B4D4002F05F5 /* style.c */,
|
||||||
9D6532EE2626240800105D50 /* Makefile */,
|
9D6532EE2626240800105D50 /* Makefile */,
|
||||||
9DDFC7B42627E081006D6E71 /* test.md */,
|
9DDFC7B42627E081006D6E71 /* test.md */,
|
||||||
|
9DBA97F82682E9EA001C2142 /* Read.Me.md */,
|
||||||
9D6532F02626240800105D50 /* make */,
|
9D6532F02626240800105D50 /* make */,
|
||||||
9D6532FB2626240800105D50 /* Supporting Files */,
|
9D6532FB2626240800105D50 /* Supporting Files */,
|
||||||
);
|
);
|
||||||
|
@ -11,6 +11,8 @@ include make/head.mk
|
|||||||
# The name of your system or binary file to build goes here:
|
# The name of your system or binary file to build goes here:
|
||||||
PGM=md2teach
|
PGM=md2teach
|
||||||
|
|
||||||
|
# DEBUGBUILD=1
|
||||||
|
|
||||||
# Set the target type you would like to build. The options are:
|
# Set the target type you would like to build. The options are:
|
||||||
# shell - A shell command for ORCA, GNO or other GS shell
|
# shell - A shell command for ORCA, GNO or other GS shell
|
||||||
# desktop - A full desktop application
|
# desktop - A full desktop application
|
||||||
|
2
md2teach/Read.Me.md
Normal file
2
md2teach/Read.Me.md
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# md2teach
|
||||||
|
|
@ -196,8 +196,13 @@ executeGUI: all
|
|||||||
make/launchEmulator "$(DISKIMAGE)" "$(DESTBOOTIMAGE)"
|
make/launchEmulator "$(DISKIMAGE)" "$(DESTBOOTIMAGE)"
|
||||||
|
|
||||||
executeShell: all
|
executeShell: all
|
||||||
|
$(ORCA) $(TARGETDIR)/$(PGM) Read.Me.md $(TARGETDIR)/Read.Me
|
||||||
|
ifeq ($(DEBUGBUILD),1)
|
||||||
$(ORCA) --mem $(TARGETDIR)/$(PGM) -d test.md $(TARGETDIR)/test.txt
|
$(ORCA) --mem $(TARGETDIR)/$(PGM) -d test.md $(TARGETDIR)/test.txt
|
||||||
make/createDiskImage "$(DISKIMAGE)" $(DESTBOOTIMAGE) "$(TARGETDIR)/md2teach" "$(TARGETDIR)/test.txt"
|
make/createDiskImage "$(DISKIMAGE)" $(DESTBOOTIMAGE) "$(TARGETDIR)/$(PGM)" "$(TARGETDIR)/Read.Me" "$(TARGETDIR)/test.txt"
|
||||||
|
else
|
||||||
|
make/createDiskImage "$(DISKIMAGE)" $(DESTBOOTIMAGE) "$(TARGETDIR)/$(PGM)" "$(TARGETDIR)/Read.Me"
|
||||||
|
endif
|
||||||
make/launchEmulator "$(DISKIMAGE)" "$(DESTBOOTIMAGE)"
|
make/launchEmulator "$(DISKIMAGE)" "$(DESTBOOTIMAGE)"
|
||||||
|
|
||||||
$(OBJDIR)/%.a: %.c
|
$(OBJDIR)/%.a: %.c
|
||||||
|
Loading…
Reference in New Issue
Block a user