Browse Source

This is a package, not a class

develop
Damien Goutte-Gattat 7 years ago
parent
commit
1a0bf2203a
3 changed files with 10 additions and 10 deletions
  1. +1
    -1
      .gitignore
  2. +5
    -5
      Makefile
  3. +4
    -4
      flygenet.dtx

+ 1
- 1
.gitignore View File

@ -1,4 +1,4 @@
flygenet.cls
flygenet.sty
flygenet.pdf
dist
*.aux


+ 5
- 5
Makefile View File

@ -1,9 +1,9 @@
ENGINE = pdflatex
DESTDIR = dist
all: flygenet.cls flygenet.pdf
all: flygenet.sty flygenet.pdf
flygenet.cls flygenet.glo flygenet.idx: flygenet.dtx lppl-1-3c.tex
flygenet.sty flygenet.glo flygenet.idx: flygenet.dtx lppl-1-3c.tex
$(ENGINE) $<
flygenet.gls: flygenet.glo
@ -16,18 +16,18 @@ flygenet.pdf: flygenet.dtx flygenet.gls flygenet.ind
$(ENGINE) $<
$(ENGINE) $<
install: flygenet.pdf flygenet.cls
install: flygenet.pdf flygenet.sty
mkdir -p $(DESTDIR)/src/latex/flygenet
mkdir -p $(DESTDIR)/doc/latex/flygenet
mkdir -p $(DESTDIR)/tex/latex/flygenet
install -m 644 flygenet.dtx lppl-1-3c.tex Makefile $(DESTDIR)/src/latex/flygenet
install -m 644 flygenet.pdf $(DESTDIR)/doc/latex/flygenet
install -m 644 flygenet.cls $(DESTDIR)/tex/latex/flygenet
install -m 644 flygenet.sty $(DESTDIR)/tex/latex/flygenet
clean:
rm -f flygenet.{aux,glo,gls,idx,ilg,ind,log,out,toc}
mrproper: clean
rm -f flygenet.{cls,pdf}
rm -f flygenet.{sty,pdf}
.PHONY: clean mrproper

+ 4
- 4
flygenet.dtx View File

@ -36,7 +36,7 @@ has been generated for details.
\endpreamble
\generate{
\file{flygenet.cls}{\from{flygenet.dtx}{class}}
\file{flygenet.sty}{\from{flygenet.dtx}{package}}
}
\endgroup
@ -83,7 +83,7 @@ has been generated for details.
% \GetFileInfo{flygenet.dtx}
%
% \title{^^A
% The \textsf{flygenet} class\thanks{^^A
% The \textsf{flygenet} package\thanks{^^A
% This file has version number \fileversion, last revised \filedate.}}
% \author{^^A
% Damien Goutte-Gattat\thanks{^^A
@ -114,10 +114,10 @@ has been generated for details.
% \section{The code}
%
% \subsection{Initialization code}
% We start by identifying the class.
% We start by identifying the package.
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}[2003/12/01]
\ProvidesClass{flygenet}[2013/07/14 v0.1 Fly genetics notation]
\ProvidesPackage{flygenet}[2013/07/14 v0.1 Fly genetics notation]
% \end{macrocode}
%
% \Finale


Loading…
Cancel
Save