diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | debian/install | 2 | ||||
-rw-r--r-- | skaldpress.1 | 10 |
4 files changed, 5 insertions, 10 deletions
@@ -18,3 +18,4 @@ debian/.debhelper/ debian/debhelper-build-stamp debian/skaldpress.substvars .pybuild/ +debian/*.1 @@ -22,6 +22,8 @@ test: deb: + cp skaldpress.1 debian/skaldpress.1 + cp smp.1 debian/smp.1 dpkg-buildpackage -us -uc mv ../skaldpress_*.deb . rm ../skaldpress_*.tar.gz diff --git a/debian/install b/debian/install new file mode 100644 index 0000000..e5322ef --- /dev/null +++ b/debian/install @@ -0,0 +1,2 @@ +debian/skaldpress.1 usr/share/man/man1/ +debian/smp.1 usr/share/man/man1/ diff --git a/skaldpress.1 b/skaldpress.1 index 5ed2046..a0cf224 100644 --- a/skaldpress.1 +++ b/skaldpress.1 @@ -10,9 +10,6 @@ smp is a macro processor, made specifically for a usecase when doing templating Macros which are available using skaldpress, in addition to the builtin smp(1)-macros -.IP "\fBtemplate(<template>,<content>)\fR" -Will process the content using a template, in-place. -This macro is used by the \fBall_tagged_by\fR-macro. .IP "\fBall_tagged_by(<tag_name>,<template>[,<field to sort by>][,<reversed>])\fR" Will output all documents which had the specified tag, using the specified template. @@ -24,13 +21,6 @@ All input files can have a metadata-block at the beginning. Any keys will be defined as macros as \fBMETADATA_<key>\fR. There are a few special keys which has a specific effect: -.IP "\fBskip_smp\fR" -If this is \fItrue\fR, macro processing will be skipped for the file, and it will be -included verbatim. - -.IP "\fBskip_build\fR" -If this is \fItrue\fR, the file will not be written to build-dir, but it will be compiled and available for macros like \fBall_tagged_by\fR. - .IP "\fBtags\fR" This is a list, and all files with entries here will be registered during the first compilation round. During the second compilation, macros like \fBall_tagged_by\fR will then |