-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
############################################################################### | ||
# | ||
# Makefile for the user manual of njuthesis | ||
# | ||
# Copyright (C) 2013 Haixing Hu, | ||
# Department of Computer Science and Technology, Nanjing University. | ||
# | ||
# Home Page of the Project: https://github.com/Haixing-Hu/nju-thesis | ||
# | ||
############################################################################### | ||
|
||
PROJECT=njuthesis | ||
TEXSOURCE=$(shell ls *.tex) | ||
BIB=njuthesis.bib | ||
|
||
.PHONY: all clean | ||
|
||
all: $(PROJECT).pdf | ||
|
||
$(PROJECT).pdf: $(PROJECT).tex $(BIB) $(TEXSOURCE) | ||
xelatex $(PROJECT).tex | ||
biber $(PROJECT) | ||
xelatex $(PROJECT).tex | ||
xelatex $(PROJECT).tex | ||
|
||
###### clean | ||
|
||
clean: | ||
-@rm -f \ | ||
*.aux \ | ||
*.bak \ | ||
*.bbl \ | ||
*.blg \ | ||
*.dvi \ | ||
*.glo \ | ||
*.gls \ | ||
*.idx \ | ||
*.ilg \ | ||
*.ind \ | ||
*.ist \ | ||
*.log \ | ||
*.out \ | ||
*.ps \ | ||
*.thm \ | ||
*.toc \ | ||
*.lof \ | ||
*.lot \ | ||
*.loe \ | ||
*.sty \ | ||
*.cfg \ | ||
*.cls \ | ||
*.sty \ | ||