Skip to content

Commit

Permalink
[NEW] Markdown 1.4.1: Upgraded to discount 1.3.0, which solves a bunc…
Browse files Browse the repository at this point in the history
…h of crashers.

git-svn-id: http://rentzsch.com/svn/trunk/cocoa/MarkdownLive@350 34dae961-d50d-0410-846e-a203d89df655
  • Loading branch information
wolf committed Nov 16, 2008
1 parent af2d72a commit 3a391bc
Show file tree
Hide file tree
Showing 76 changed files with 856 additions and 200 deletions.
6 changes: 3 additions & 3 deletions Info.plist
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0"> <plist version="1.0">
<dict> <dict>
<key>CFBundleDevelopmentRegion</key> <key>CFBundleDevelopmentRegion</key>
Expand Down Expand Up @@ -40,9 +40,9 @@
<key>CFBundleSignature</key> <key>CFBundleSignature</key>
<string>????</string> <string>????</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>1.4</string> <string>1.4.1</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>1.4</string> <string>1.4.1</string>
<key>NSMainNibFile</key> <key>NSMainNibFile</key>
<string>MainMenu</string> <string>MainMenu</string>
<key>NSPrincipalClass</key> <key>NSPrincipalClass</key>
Expand Down
34 changes: 16 additions & 18 deletions MarkdownLive.xcodeproj/project.pbxproj
Expand Up @@ -7,14 +7,14 @@
objects = { objects = {


/* Begin PBXBuildFile section */ /* Begin PBXBuildFile section */
79252FF20E8E080100DFAD98 /* generate.c in Sources */ = {isa = PBXBuildFile; fileRef = 79252FF10E8E080100DFAD98 /* generate.c */; };
792530F00E8F40F200DFAD98 /* discountWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = 792530EF0E8F40F200DFAD98 /* discountWrapper.m */; }; 792530F00E8F40F200DFAD98 /* discountWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = 792530EF0E8F40F200DFAD98 /* discountWrapper.m */; };
792530FB0E8F49CE00DFAD98 /* mkdio.c in Sources */ = {isa = PBXBuildFile; fileRef = 792530FA0E8F49CE00DFAD98 /* mkdio.c */; };
792530FF0E8F49E800DFAD98 /* markdown.c in Sources */ = {isa = PBXBuildFile; fileRef = 792530FE0E8F49E800DFAD98 /* markdown.c */; };
792531010E8F4A0900DFAD98 /* resource.c in Sources */ = {isa = PBXBuildFile; fileRef = 792531000E8F4A0900DFAD98 /* resource.c */; };
792531470E8F4CD800DFAD98 /* mkdioWrapper.c in Sources */ = {isa = PBXBuildFile; fileRef = 792531460E8F4CD800DFAD98 /* mkdioWrapper.c */; }; 792531470E8F4CD800DFAD98 /* mkdioWrapper.c in Sources */ = {isa = PBXBuildFile; fileRef = 792531460E8F4CD800DFAD98 /* mkdioWrapper.c */; };
7925314B0E8F4E4D00DFAD98 /* markdownWrapper.c in Sources */ = {isa = PBXBuildFile; fileRef = 7925314A0E8F4E4D00DFAD98 /* markdownWrapper.c */; }; 7925314B0E8F4E4D00DFAD98 /* markdownWrapper.c in Sources */ = {isa = PBXBuildFile; fileRef = 7925314A0E8F4E4D00DFAD98 /* markdownWrapper.c */; };
796A2AD80A20DCEE00440275 /* WebKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 796A2AD70A20DCEE00440275 /* WebKit.framework */; }; 796A2AD80A20DCEE00440275 /* WebKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 796A2AD70A20DCEE00440275 /* WebKit.framework */; };
797EF6930ED0EB5400B28F7A /* resource.c in Sources */ = {isa = PBXBuildFile; fileRef = 797EF68F0ED0EB5400B28F7A /* resource.c */; };
797EF6940ED0EB5400B28F7A /* generate.c in Sources */ = {isa = PBXBuildFile; fileRef = 797EF6900ED0EB5400B28F7A /* generate.c */; };
797EF6950ED0EB5400B28F7A /* markdown.c in Sources */ = {isa = PBXBuildFile; fileRef = 797EF6910ED0EB5400B28F7A /* markdown.c */; };
797EF6960ED0EB5400B28F7A /* mkdio.c in Sources */ = {isa = PBXBuildFile; fileRef = 797EF6920ED0EB5400B28F7A /* mkdio.c */; };
79F7EF740AC39638003DAB4E /* MarkdownLiveApp.icns in Resources */ = {isa = PBXBuildFile; fileRef = 79F7EF730AC39638003DAB4E /* MarkdownLiveApp.icns */; }; 79F7EF740AC39638003DAB4E /* MarkdownLiveApp.icns in Resources */ = {isa = PBXBuildFile; fileRef = 79F7EF730AC39638003DAB4E /* MarkdownLiveApp.icns */; };
8D15AC2C0486D014006FF6A4 /* Credits.rtf in Resources */ = {isa = PBXBuildFile; fileRef = 2A37F4B9FDCFA73011CA2CEA /* Credits.rtf */; }; 8D15AC2C0486D014006FF6A4 /* Credits.rtf in Resources */ = {isa = PBXBuildFile; fileRef = 2A37F4B9FDCFA73011CA2CEA /* Credits.rtf */; };
8D15AC2D0486D014006FF6A4 /* MainMenu.nib in Resources */ = {isa = PBXBuildFile; fileRef = 2A37F4B6FDCFA73011CA2CEA /* MainMenu.nib */; }; 8D15AC2D0486D014006FF6A4 /* MainMenu.nib in Resources */ = {isa = PBXBuildFile; fileRef = 2A37F4B6FDCFA73011CA2CEA /* MainMenu.nib */; };
Expand All @@ -38,17 +38,17 @@
2A37F4C4FDCFA73011CA2CEA /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = "<absolute>"; }; 2A37F4C4FDCFA73011CA2CEA /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = "<absolute>"; };
2A37F4C5FDCFA73011CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; }; 2A37F4C5FDCFA73011CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; };
32DBCF750370BD2300C91783 /* MarkdownLive_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MarkdownLive_Prefix.pch; sourceTree = "<group>"; }; 32DBCF750370BD2300C91783 /* MarkdownLive_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MarkdownLive_Prefix.pch; sourceTree = "<group>"; };
79252FF10E8E080100DFAD98 /* generate.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = generate.c; path = "discount-1.2.10/generate.c"; sourceTree = "<group>"; };
792530EE0E8F40F200DFAD98 /* discountWrapper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = discountWrapper.h; sourceTree = "<group>"; }; 792530EE0E8F40F200DFAD98 /* discountWrapper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = discountWrapper.h; sourceTree = "<group>"; };
792530EF0E8F40F200DFAD98 /* discountWrapper.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = discountWrapper.m; sourceTree = "<group>"; }; 792530EF0E8F40F200DFAD98 /* discountWrapper.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = discountWrapper.m; sourceTree = "<group>"; };
792530FA0E8F49CE00DFAD98 /* mkdio.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = mkdio.c; path = "discount-1.2.10/mkdio.c"; sourceTree = "<group>"; };
792530FE0E8F49E800DFAD98 /* markdown.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = markdown.c; path = "discount-1.2.10/markdown.c"; sourceTree = "<group>"; };
792531000E8F4A0900DFAD98 /* resource.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = resource.c; path = "discount-1.2.10/resource.c"; sourceTree = "<group>"; };
792531450E8F4CD800DFAD98 /* mkdioWrapper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = mkdioWrapper.h; sourceTree = "<group>"; }; 792531450E8F4CD800DFAD98 /* mkdioWrapper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = mkdioWrapper.h; sourceTree = "<group>"; };
792531460E8F4CD800DFAD98 /* mkdioWrapper.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = mkdioWrapper.c; sourceTree = "<group>"; }; 792531460E8F4CD800DFAD98 /* mkdioWrapper.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = mkdioWrapper.c; sourceTree = "<group>"; };
792531490E8F4E4D00DFAD98 /* markdownWrapper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = markdownWrapper.h; sourceTree = "<group>"; }; 792531490E8F4E4D00DFAD98 /* markdownWrapper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = markdownWrapper.h; sourceTree = "<group>"; };
7925314A0E8F4E4D00DFAD98 /* markdownWrapper.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = markdownWrapper.c; sourceTree = "<group>"; }; 7925314A0E8F4E4D00DFAD98 /* markdownWrapper.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = markdownWrapper.c; sourceTree = "<group>"; };
796A2AD70A20DCEE00440275 /* WebKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WebKit.framework; path = /System/Library/Frameworks/WebKit.framework; sourceTree = "<absolute>"; }; 796A2AD70A20DCEE00440275 /* WebKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WebKit.framework; path = /System/Library/Frameworks/WebKit.framework; sourceTree = "<absolute>"; };
797EF68F0ED0EB5400B28F7A /* resource.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = resource.c; path = "discount-1.3.0/resource.c"; sourceTree = "<group>"; };
797EF6900ED0EB5400B28F7A /* generate.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = generate.c; path = "discount-1.3.0/generate.c"; sourceTree = "<group>"; };
797EF6910ED0EB5400B28F7A /* markdown.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = markdown.c; path = "discount-1.3.0/markdown.c"; sourceTree = "<group>"; };
797EF6920ED0EB5400B28F7A /* mkdio.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = mkdio.c; path = "discount-1.3.0/mkdio.c"; sourceTree = "<group>"; };
79F7EF730AC39638003DAB4E /* MarkdownLiveApp.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = MarkdownLiveApp.icns; sourceTree = "<group>"; }; 79F7EF730AC39638003DAB4E /* MarkdownLiveApp.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = MarkdownLiveApp.icns; sourceTree = "<group>"; };
8D15AC360486D014006FF6A4 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; }; 8D15AC360486D014006FF6A4 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
8D15AC370486D014006FF6A4 /* MarkdownLive.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MarkdownLive.app; sourceTree = BUILT_PRODUCTS_DIR; }; 8D15AC370486D014006FF6A4 /* MarkdownLive.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MarkdownLive.app; sourceTree = BUILT_PRODUCTS_DIR; };
Expand Down Expand Up @@ -156,10 +156,10 @@
792531460E8F4CD800DFAD98 /* mkdioWrapper.c */, 792531460E8F4CD800DFAD98 /* mkdioWrapper.c */,
792531490E8F4E4D00DFAD98 /* markdownWrapper.h */, 792531490E8F4E4D00DFAD98 /* markdownWrapper.h */,
7925314A0E8F4E4D00DFAD98 /* markdownWrapper.c */, 7925314A0E8F4E4D00DFAD98 /* markdownWrapper.c */,
792530FA0E8F49CE00DFAD98 /* mkdio.c */, 797EF68F0ED0EB5400B28F7A /* resource.c */,
792530FE0E8F49E800DFAD98 /* markdown.c */, 797EF6900ED0EB5400B28F7A /* generate.c */,
79252FF10E8E080100DFAD98 /* generate.c */, 797EF6910ED0EB5400B28F7A /* markdown.c */,
792531000E8F4A0900DFAD98 /* resource.c */, 797EF6920ED0EB5400B28F7A /* mkdio.c */,
); );
name = discount; name = discount;
sourceTree = "<group>"; sourceTree = "<group>";
Expand Down Expand Up @@ -224,13 +224,13 @@
files = ( files = (
8D15AC310486D014006FF6A4 /* MyDocument.m in Sources */, 8D15AC310486D014006FF6A4 /* MyDocument.m in Sources */,
8D15AC320486D014006FF6A4 /* main.m in Sources */, 8D15AC320486D014006FF6A4 /* main.m in Sources */,
79252FF20E8E080100DFAD98 /* generate.c in Sources */,
792530F00E8F40F200DFAD98 /* discountWrapper.m in Sources */, 792530F00E8F40F200DFAD98 /* discountWrapper.m in Sources */,
792530FB0E8F49CE00DFAD98 /* mkdio.c in Sources */,
792530FF0E8F49E800DFAD98 /* markdown.c in Sources */,
792531010E8F4A0900DFAD98 /* resource.c in Sources */,
792531470E8F4CD800DFAD98 /* mkdioWrapper.c in Sources */, 792531470E8F4CD800DFAD98 /* mkdioWrapper.c in Sources */,
7925314B0E8F4E4D00DFAD98 /* markdownWrapper.c in Sources */, 7925314B0E8F4E4D00DFAD98 /* markdownWrapper.c in Sources */,
797EF6930ED0EB5400B28F7A /* resource.c in Sources */,
797EF6940ED0EB5400B28F7A /* generate.c in Sources */,
797EF6950ED0EB5400B28F7A /* markdown.c in Sources */,
797EF6960ED0EB5400B28F7A /* mkdio.c in Sources */,
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
}; };
Expand Down Expand Up @@ -307,7 +307,6 @@
C05733CC08A9546B00998B17 /* Debug */ = { C05733CC08A9546B00998B17 /* Debug */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
GCC_TREAT_WARNINGS_AS_ERRORS = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES; GCC_WARN_UNUSED_VARIABLE = YES;
PREBINDING = NO; PREBINDING = NO;
Expand All @@ -318,7 +317,6 @@
C05733CD08A9546B00998B17 /* Release */ = { C05733CD08A9546B00998B17 /* Release */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
GCC_TREAT_WARNINGS_AS_ERRORS = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES; GCC_WARN_UNUSED_VARIABLE = YES;
PREBINDING = NO; PREBINDING = NO;
Expand Down
2 changes: 1 addition & 1 deletion MyDocument.m
Expand Up @@ -46,7 +46,7 @@ - (void)windowControllerDidLoadNib:(NSWindowController*)controller_ {
static BOOL engagedAutosave = NO; static BOOL engagedAutosave = NO;
if (!engagedAutosave) { if (!engagedAutosave) {
engagedAutosave = YES; engagedAutosave = YES;
[[NSDocumentController sharedDocumentController] setAutosavingDelay:30.0]; [[NSDocumentController sharedDocumentController] setAutosavingDelay:5.0];
} }
[super windowControllerDidLoadNib:controller_]; [super windowControllerDidLoadNib:controller_];
} }
Expand Down
1 change: 0 additions & 1 deletion discount-1.2.10/VERSION

This file was deleted.

5 changes: 0 additions & 5 deletions discount-1.2.10/config.md

This file was deleted.

22 changes: 0 additions & 22 deletions discount-1.2.10/tests/code.t

This file was deleted.

File renamed without changes.
File renamed without changes.
28 changes: 17 additions & 11 deletions discount-1.2.10/Makefile → discount-1.3.0/Makefile
@@ -1,4 +1,4 @@
CC=cc CC=cc -I. -L.
AR=/usr/bin/ar AR=/usr/bin/ar
RANLIB=/usr/bin/ranlib RANLIB=/usr/bin/ranlib


Expand All @@ -8,10 +8,11 @@ LIBDIR=/usr/local/lib
INCDIR=/usr/local/include INCDIR=/usr/local/include


PGMS=markdown PGMS=markdown
SAMPLE_PGMS=mkd2html SAMPLE_PGMS=mkd2html makepage
SAMPLE_PGMS+= theme SAMPLE_PGMS+= theme
MKDLIB=libmarkdown.a MKDLIB=libmarkdown.a
OBJS=mkdio.o markdown.o dumptree.o generate.o resource.o docheader.o version.o OBJS=mkdio.o markdown.o dumptree.o generate.o \
resource.o docheader.o version.o toc.o xmlpage.o


all: $(PGMS) $(SAMPLE_PGMS) all: $(PGMS) $(SAMPLE_PGMS)


Expand All @@ -24,21 +25,21 @@ install.everything: install install.samples install.man


install.samples: $(SAMPLE_PGMS) install install.samples: $(SAMPLE_PGMS) install
/usr/bin/install -s -m 755 $(SAMPLE_PGMS) $(BINDIR) /usr/bin/install -s -m 755 $(SAMPLE_PGMS) $(BINDIR)
/Users/wolf/code/trac/cocoa/MarkdownLive/discount-1.2.10/config.md $(MANDIR)/man1 /Users/wolf/code/trac/cocoa/MarkdownLive/discount-1.3.0/config.md $(MANDIR)/man1
/usr/bin/install -m 444 theme.1 $(MANDIR)/man1 /usr/bin/install -m 444 theme.1 $(MANDIR)/man1


install.man: install.man:
/Users/wolf/code/trac/cocoa/MarkdownLive/discount-1.2.10/config.md $(MANDIR)/man3 /Users/wolf/code/trac/cocoa/MarkdownLive/discount-1.3.0/config.md $(MANDIR)/man3
/usr/bin/install -m 444 mkd-functions.3 markdown.3 $(MANDIR)/man3 /usr/bin/install -m 444 mkd-functions.3 markdown.3 $(MANDIR)/man3
for x in mkd_text mkd_in mkd_string; do \ for x in mkd_text mkd_in mkd_string; do \
( echo '.\"' ; echo ".so man3/markdown.3" ) > $(MANDIR)/man3/$$x.3;\ ( echo '.\"' ; echo ".so man3/markdown.3" ) > $(MANDIR)/man3/$$x.3;\
done done
for x in mkd_compile mkd_style mkd_generatehtml mkd_cleanup mkd_doc_title mkd_doc_author mkd_doc_date; do \ for x in mkd_compile mkd_style mkd_generatehtml mkd_cleanup mkd_doc_title mkd_doc_author mkd_doc_date; do \
( echo '.\"' ; echo ".so man3/mkd-functions.3" ) > $(MANDIR)/man3/$$x.3; \ ( echo '.\"' ; echo ".so man3/mkd-functions.3" ) > $(MANDIR)/man3/$$x.3; \
done done
/Users/wolf/code/trac/cocoa/MarkdownLive/discount-1.2.10/config.md $(MANDIR)/man7 /Users/wolf/code/trac/cocoa/MarkdownLive/discount-1.3.0/config.md $(MANDIR)/man7
/usr/bin/install -m 444 markdown.7 mkd-extensions.7 $(MANDIR)/man7 /usr/bin/install -m 444 markdown.7 mkd-extensions.7 $(MANDIR)/man7
/Users/wolf/code/trac/cocoa/MarkdownLive/discount-1.2.10/config.md $(MANDIR)/man1 /Users/wolf/code/trac/cocoa/MarkdownLive/discount-1.3.0/config.md $(MANDIR)/man1
/usr/bin/install -m 444 markdown.1 $(MANDIR)/man1 /usr/bin/install -m 444 markdown.1 $(MANDIR)/man1


install.everything: install install.man install.everything: install install.man
Expand All @@ -47,15 +48,18 @@ version.o: version.c VERSION
$(CC) -DVERSION=\"`cat VERSION`\" -c version.c $(CC) -DVERSION=\"`cat VERSION`\" -c version.c


markdown: main.o $(MKDLIB) markdown: main.o $(MKDLIB)
$(CC) -L. -o markdown main.o -lmarkdown $(CC) -o markdown main.o -lmarkdown


# example programs # example programs
theme: theme.o $(MKDLIB) theme: theme.o $(MKDLIB)
$(CC) -L. -o theme theme.o -lmarkdown $(CC) -o theme theme.o -lmarkdown




mkd2html: mkd2html.o $(MKDLIB) mkd2html: mkd2html.o $(MKDLIB)
$(CC) -L. -o mkd2html mkd2html.o -lmarkdown $(CC) -o mkd2html mkd2html.o -lmarkdown

makepage: makepage.c $(MKDLIB)
$(CC) -o makepage makepage.c -lmarkdown


main.o: main.c mkdio.h config.h main.o: main.c mkdio.h config.h
$(CC) -I. -c main.c $(CC) -I. -c main.c
Expand All @@ -76,9 +80,11 @@ clean:
rm -f $(PGMS) $(SAMPLE_PGMS) *.o $(MKDLIB) rm -f $(PGMS) $(SAMPLE_PGMS) *.o $(MKDLIB)


distclean spotless: clean distclean spotless: clean
rm -f Makefile version.c config.cmd config.sub config.h config.mak config.log config.md rm -f Makefile version.c markdown.1 config.cmd config.sub config.h config.mak config.log config.md


markdown.o: markdown.c config.h cstring.h markdown.h markdown.o: markdown.c config.h cstring.h markdown.h
generate.o: generate.c config.h cstring.h markdown.h generate.o: generate.c config.h cstring.h markdown.h
dumptree.o: dumptree.c cstring.h markdown.h dumptree.o: dumptree.c cstring.h markdown.h
mkdio.o: mkdio.c mkdio.h cstring.h config.h mkdio.o: mkdio.c mkdio.h cstring.h config.h
xmlpage.o: xmlpage.c mkdio.h cstring.h config.h
toc.o: toc.c mkdio.h cstring.h config.h
18 changes: 12 additions & 6 deletions discount-1.2.10/Makefile.in → discount-1.3.0/Makefile.in
@@ -1,4 +1,4 @@
CC=@CC@ CC=@CC@ -I. -L.
AR=@AR@ AR=@AR@
RANLIB=@RANLIB@ RANLIB=@RANLIB@


Expand All @@ -8,10 +8,11 @@ LIBDIR=@libdir@
INCDIR=@prefix@/include INCDIR=@prefix@/include


PGMS=markdown PGMS=markdown
SAMPLE_PGMS=mkd2html SAMPLE_PGMS=mkd2html makepage
@THEME@SAMPLE_PGMS+= theme @THEME@SAMPLE_PGMS+= theme
MKDLIB=libmarkdown.a MKDLIB=libmarkdown.a
OBJS=mkdio.o markdown.o dumptree.o generate.o resource.o docheader.o version.o @AMALLOC@ OBJS=mkdio.o markdown.o dumptree.o generate.o \
resource.o docheader.o version.o toc.o xmlpage.o @AMALLOC@


all: $(PGMS) $(SAMPLE_PGMS) all: $(PGMS) $(SAMPLE_PGMS)


Expand Down Expand Up @@ -47,15 +48,18 @@ version.o: version.c VERSION
$(CC) -DVERSION=\"`cat VERSION`\" -c version.c $(CC) -DVERSION=\"`cat VERSION`\" -c version.c


markdown: main.o $(MKDLIB) markdown: main.o $(MKDLIB)
$(CC) -L. -o markdown main.o -lmarkdown @LIBS@ $(CC) -o markdown main.o -lmarkdown @LIBS@


# example programs # example programs
@THEME@theme: theme.o $(MKDLIB) @THEME@theme: theme.o $(MKDLIB)
@THEME@ $(CC) -L. -o theme theme.o -lmarkdown @LIBS@ @THEME@ $(CC) -o theme theme.o -lmarkdown @LIBS@




mkd2html: mkd2html.o $(MKDLIB) mkd2html: mkd2html.o $(MKDLIB)
$(CC) -L. -o mkd2html mkd2html.o -lmarkdown @LIBS@ $(CC) -o mkd2html mkd2html.o -lmarkdown @LIBS@

makepage: makepage.c $(MKDLIB)
$(CC) -o makepage makepage.c -lmarkdown @LIBS@


main.o: main.c mkdio.h config.h main.o: main.c mkdio.h config.h
$(CC) -I. -c main.c $(CC) -I. -c main.c
Expand All @@ -82,3 +86,5 @@ markdown.o: markdown.c config.h cstring.h markdown.h
generate.o: generate.c config.h cstring.h markdown.h generate.o: generate.c config.h cstring.h markdown.h
dumptree.o: dumptree.c cstring.h markdown.h dumptree.o: dumptree.c cstring.h markdown.h
mkdio.o: mkdio.c mkdio.h cstring.h config.h mkdio.o: mkdio.c mkdio.h cstring.h config.h
xmlpage.o: xmlpage.c mkdio.h cstring.h config.h
toc.o: toc.c mkdio.h cstring.h config.h
File renamed without changes.
1 change: 1 addition & 0 deletions discount-1.3.0/VERSION
@@ -0,0 +1 @@
1.3.0
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion discount-1.2.10/config.h → discount-1.3.0/config.h
@@ -1,5 +1,5 @@
/* /*
* configuration for markdown, generated Fri Sep 26 12:00:58 CDT 2008 * configuration for markdown, generated Sun Nov 16 17:57:08 CST 2008
* by wolf@wolf-mbp.local * by wolf@wolf-mbp.local
*/ */
#ifndef __AC_MARKDOWN_D #ifndef __AC_MARKDOWN_D
Expand Down
17 changes: 9 additions & 8 deletions discount-1.2.10/config.log → discount-1.3.0/config.log
Expand Up @@ -7,11 +7,11 @@ checking out the C compiler
checking for "volatile" keyword checking for "volatile" keyword
checking for "const" keyword checking for "const" keyword
defining WORD & DWORD scalar types defining WORD & DWORD scalar types
/tmp/pd18341.c: In function ‘main’: /tmp/pd8734.c: In function ‘main’:
/tmp/pd18341.c:13: warning: incompatible implicit declaration of built-in function ‘exit’ /tmp/pd8734.c:13: warning: incompatible implicit declaration of built-in function ‘exit’
/tmp/ngc18341.c: In function ‘main’: /tmp/ngc8734.c: In function ‘main’:
/tmp/ngc18341.c:5: warning: initialization makes pointer from integer without a cast /tmp/ngc8734.c:5: warning: initialization makes pointer from integer without a cast
/tmp/ngc18341.c:6: warning: initialization makes pointer from integer without a cast /tmp/ngc8734.c:6: warning: initialization makes pointer from integer without a cast
looking for header pwd.h looking for header pwd.h
looking for the getpwuid function looking for the getpwuid function
looking for the srandom function looking for the srandom function
Expand All @@ -20,14 +20,15 @@ looking for the strcasecmp function
looking for the strncasecmp function looking for the strncasecmp function
looking for the fchdir function looking for the fchdir function
looking for header malloc.h looking for header malloc.h
test failed: command was cc -c -o /tmp/doto18341.o /tmp/ngc18341.c test failed: command was cc -c -o /tmp/doto8734.o /tmp/ngc8734.c
output: output:
/tmp/ngc18341.c:2:20: error: malloc.h: No such file or directory /tmp/ngc8734.c:2:20: error: malloc.h: No such file or directory
offending sources: offending sources:
/tmp/ngc18341.c: /tmp/ngc8734.c:
/* AC_CHECK_HEADERS */ /* AC_CHECK_HEADERS */
#include <malloc.h> #include <malloc.h>
main() { } main() { }
sed is /usr/bin/sed sed is /usr/bin/sed
generating Makefile generating Makefile
generating version.c generating version.c
generating markdown.1
File renamed without changes.
5 changes: 5 additions & 0 deletions discount-1.3.0/config.md
@@ -0,0 +1,5 @@
#! /bin/sh
# script generated Sun Nov 16 17:57:09 CST 2008 by configure.sh

test -d "$1" || mkdir -p "$1"
exit 0
7 changes: 4 additions & 3 deletions discount-1.2.10/config.sub → discount-1.3.0/config.sub
Expand Up @@ -3,19 +3,20 @@ s;@CPPFLAGS@;;g
s;@INSTALL@;/usr/bin/install;g s;@INSTALL@;/usr/bin/install;g
s;@INSTALL_PROGRAM@;/usr/bin/install -s -m 755;g s;@INSTALL_PROGRAM@;/usr/bin/install -s -m 755;g
s;@INSTALL_DATA@;/usr/bin/install -m 444;g s;@INSTALL_DATA@;/usr/bin/install -m 444;g
s;@INSTALL_DIR@;/Users/wolf/code/trac/cocoa/MarkdownLive/discount-1.2.10/config.md;g s;@INSTALL_DIR@;/Users/wolf/code/trac/cocoa/MarkdownLive/discount-1.3.0/config.md;g
s;@CC@;cc;g s;@CC@;cc;g
s;@AR@;/usr/bin/ar;g s;@AR@;/usr/bin/ar;g
s;@RANLIB@;/usr/bin/ranlib;g s;@RANLIB@;/usr/bin/ranlib;g
s;@THEME@;;g s;@THEME@;;g
s;@TABSTOP@;4;g s;@TABSTOP@;4;g
s;@AMALLOC@;;g s;@AMALLOC@;;g
s;@STRICT@;.\";g
s;@LIBS@;;g s;@LIBS@;;g
s;@CONFIGURE_FILES@;config.cmd config.sub config.h config.mak config.log config.md;g s;@CONFIGURE_FILES@;config.cmd config.sub config.h config.mak config.log config.md;g
s;@GENERATED_FILES@;Makefile version.c;g s;@GENERATED_FILES@;Makefile version.c markdown.1;g
s;@CFLAGS@;-g;g s;@CFLAGS@;-g;g
s;@LDFLAGS@;-g;g s;@LDFLAGS@;-g;g
s;@srcdir@;/Users/wolf/code/trac/cocoa/MarkdownLive/discount-1.2.10;g s;@srcdir@;/Users/wolf/code/trac/cocoa/MarkdownLive/discount-1.3.0;g
s;@prefix@;/usr/local;g s;@prefix@;/usr/local;g
s;@exedir@;/usr/local/bin;g s;@exedir@;/usr/local/bin;g
s;@sbindir@;/usr/local/sbin;g s;@sbindir@;/usr/local/sbin;g
Expand Down
File renamed without changes.

0 comments on commit 3a391bc

Please sign in to comment.