aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQrius <[email protected]>2025-04-25 13:08:44 +0200
committerQrius <[email protected]>2025-04-25 13:08:45 +0200
commit3dcde053610430fdaeb23b57698810f63781684e (patch)
tree51bbb369e1ba947c7ce53ce3efa41cdc048ebfe4
parentdc12485f5c346e6f77aa7c9ae72f80cd3cc1e771 (diff)
downloadskaldpress-3dcde053610430fdaeb23b57698810f63781684e.tar.gz
skaldpress-3dcde053610430fdaeb23b57698810f63781684e.zip
Add non-updated man pages to deb package
-rw-r--r--.gitignore1
-rw-r--r--Makefile2
-rw-r--r--debian/install2
-rw-r--r--skaldpress.110
4 files changed, 5 insertions, 10 deletions
diff --git a/.gitignore b/.gitignore
index 639a4d0..33f82ff 100644
--- a/.gitignore
+++ b/.gitignore
@@ -18,3 +18,4 @@ debian/.debhelper/
debian/debhelper-build-stamp
debian/skaldpress.substvars
.pybuild/
+debian/*.1
diff --git a/Makefile b/Makefile
index 4712adc..953b143 100644
--- a/Makefile
+++ b/Makefile
@@ -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