more cleanups for ctan

master
Marc Wäckerlin 4 years ago
parent 73d0ec06b0
commit deeec7c8b2
  1. 8
      README.md
  2. 4
      businesscard-qrcode.cls
  3. 2
      configure.ac
  4. BIN
      examples/example.pdf
  5. BIN
      examples/john-doe-hongkong.pdf
  6. BIN
      examples/peter-muster-example-company-zuerich.pdf
  7. BIN
      examples/special-papersize.pdf
  8. BIN
      examples/texstudio_d30266.pdf
  9. 8
      makefile.am
  10. 19
      release.sh
  11. 4
      screenshots/makefile.am

@ -198,11 +198,10 @@ See [examples] for more examples.
Need More
=========
If you are missing a feature or a configuration option, just open a [ticket] and I will care about it.
If you are missing a feature or a configuration option, consult the [project] page. Just open a [ticket] and the [author] will care about it. Er extend it, it's [lgpl].
[ticket]: https://mrw.sh/templates/latex/issues "open issues and tickets for my LaTeX-templates project"
[examples]: examples "more examples"
[vcard]: https://tools.ietf.org/html/rfc6350 "RFC 6350, vCard Format Specification Version 4.0"
[app]: https://f-droid.org/de/packages/com.google.zxing.client.android/ "Barcode Scanner"
@ -226,3 +225,8 @@ If you are missing a feature or a configuration option, just open a [ticket] and
[wikipedia]: https://wikipedia.org "the online encyclopedia"
[pgp]: https://en.wikipedia.org/wiki/Pretty_Good_Privacy "pretty good privacy — encryption standard"
[nextcloud federation id]: https://nextcloud.com/federation "share your cloud across others"
[I]: https://marc.wäckerlin.ch "Marc Wäckerlin"
[ticket]: https://mrw.sh/templates/businesscard-qrcode/issues "open issues and tickets for my LaTeX-templates project"
[author]: https://marc.wäckerlin.ch "Marc Wäckerlin"
[project]: https://mrw.sh/templates/businesscard-qrcode "the main project page"
[lgpl] https://www.gnu.org/licenses/lgpl-3.0 "Library GNU Public License"

@ -1,5 +1,7 @@
% Author: Marc Wäckerlin
% License: LGPL
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{businesscard-qrcode}[2018/08/14 version 1.0 ready for ctan]
\ProvidesClass{businesscard-qrcode}[2018/08/15 version 1.2 ready for ctan]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% option evaluation

@ -1,5 +1,5 @@
#AC_PREREQ([2.69])
AC_INIT([businesscard-qrcode], [1.1], [marc@waeckerlin.org])
AC_INIT([businesscard-qrcode], [1.2], [marc@waeckerlin.org])
AM_INIT_AUTOMAKE([1.9 tar-pax])
AC_ARG_WITH([latexdir],

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -3,10 +3,10 @@ AUTOMAKE_OPTIONS = foreign
SUBDIRS = examples screenshots
dist_latex_DATA = @PACKAGE_NAME@.cls
dist_doc_DATA = README.md @PACKAGE_NAME@.pdf
dist_doc_DATA = README.md #@PACKAGE_NAME@.pdf
@PACKAGE_NAME@.pdf: README.md
pandoc --toc --latex-engine=xelatex -o $@ $<
#@PACKAGE_NAME@.pdf: README.md
# pandoc --toc --latex-engine=xelatex -o $@ $<
CLEANFILES = @PACKAGE_NAME@.pdf
#CLEANFILES = @PACKAGE_NAME@.pdf
MAINTAINERCLEANFILES = makefile.in aclocal.m4 configure install-sh missing

@ -0,0 +1,19 @@
#!/bin/bash -ex
./autogen.sh
./configure --prefix=/ --docdir=/ --with-latexdir=/
make all
file=$(sed -n 's/AC_INIT(\[\(.*\)\], \[\(.*\)\], .*/\1/p' configure.ac)
version=$(sed -n 's/AC_INIT(\[\(.*\)\], \[\(.*\)\], .*/\2/p' configure.ac)
DESTDIR=$(pwd)/${file} make install
tar czf ${file}-${version}-ctan.tar.gz ${file}
DESTDIR=$(pwd)/${file} make uninstall maintainer-clean
for d in $(sed -n 's/SUBDIRS *= *//p' makefile.am); do
rmdir ${file}/${d}
done
rmdir ${file}
set +x
echo "====================================================================="
echo "File is ready for CTAN upload:"
echo "${file}-${version}-ctan.tar.gz"
echo "====================================================================="

@ -1,7 +1,3 @@
EXAMPLES = example john-doe-hongkong \
peter-muster-example-company-zuerich special-papersize \
texstudio_d30266
screenshotdir=${docdir}/screenshots
dist_screenshot_DATA=$(EXAMPLES:%=%.jpg)

Loading…
Cancel
Save