瀏覽代碼

Clean up .gitignore and documentation build rules.

tags/v0.99.beta17
Sam Hocevar sam 15 年之前
父節點
當前提交
2a4cccbf34
共有 14 個文件被更改,包括 83 次插入60 次删除
  1. +65
    -0
      .gitignore
  2. +3
    -2
      Makefile.am
  3. +0
    -3
      caca-sharp/.gitignore
  4. +0
    -1
      caca/.gitignore
  5. +0
    -1
      cxx/.gitignore
  6. +0
    -4
      doc/.gitignore
  7. +3
    -4
      doc/Makefile.am
  8. +1
    -1
      doc/doxygen.cfg.in
  9. +0
    -29
      examples/.gitignore
  10. +0
    -2
      ruby/.gitignore
  11. +0
    -7
      src/.gitignore
  12. +0
    -3
      test/.gitignore
  13. +11
    -0
      test/check-build
  14. +0
    -3
      tools/.gitignore

+ 65
- 0
.gitignore 查看文件

@@ -1,3 +1,4 @@
# Autotools cruft
*.o
*.lo
*.la
@@ -23,3 +24,67 @@ stamp-*
*-stamp
INSTALL
caca-config
# libcaca binaries
caca/caca_types.h
# caca-sharp binaries
caca-sharp/*.dll
caca-sharp/*.config
caca-sharp/*.mdb
# libcaca++ binaries
cxx/cxxtest
# Doxygen cruft
doc/doxygen.cfg
doc/doxygen.log
doc/man
doc/html
doc/latex
# example binaries
examples/blit
examples/canvas
examples/colors
examples/conio
examples/conio-snake
examples/demo
examples/demo0
examples/dithering
examples/driver
examples/event
examples/export
examples/figfont
examples/font
examples/font2tga
examples/frames
examples/fullwidth
examples/gamma
examples/hsv
examples/import
examples/input
examples/mouse
examples/spritedit
examples/swallow
examples/term
examples/text
examples/transform
examples/trifiller
examples/truecolor
examples/unicode
# Ruby binaries
ruby/*/mkmf.log
ruby/*/*.so
# Demo binaries
src/cacaview
src/cacadraw
src/cacademo
src/cacafire
src/cacaplay
src/cacaserver
src/img2txt
# Testsuite binaries
test/bench
test/caca-test
test/simple
# Tools binaries
tools/optipal
tools/makefont
tools/sortchars


+ 3
- 2
Makefile.am 查看文件

@@ -12,6 +12,7 @@ bin_SCRIPTS = caca-config

webhost = poulet.zoy.org
webdir = /srv/caca.zoy.org/var/www/
doxdir = /srv/caca.zoy.org/var/cache/doxygen/libcaca

upload: upload-source upload-doc

@@ -19,8 +20,8 @@ upload-source: FORCE
scp $(distdir).tar.gz $(webhost):$(webdir)/files/

upload-doc: doc/html FORCE
ssh $(webhost) rm -f '$(webdir)/manual/*'
scp -r doc/html/* $(webhost):$(webdir)/manual/
ssh $(webhost) rm -f '$(doxdir)/*' || true
scp -r doc/html/* $(webhost):$(doxdir)/

fonts: tools/makefont
tools/makefont mono9 "Monospace 9" 96 4 >| $(srcdir)/caca/mono9.data


+ 0
- 3
caca-sharp/.gitignore 查看文件

@@ -1,3 +0,0 @@
*.dll
*.config
*.mdb

+ 0
- 1
caca/.gitignore 查看文件

@@ -1 +0,0 @@
caca_types.h

+ 0
- 1
cxx/.gitignore 查看文件

@@ -1 +0,0 @@
cxxtest

+ 0
- 4
doc/.gitignore 查看文件

@@ -1,4 +0,0 @@
doxygen.cfg
man
html
latex

+ 3
- 4
doc/Makefile.am 查看文件

@@ -2,6 +2,7 @@

EXTRA_DIST = doxygen.cfg.in doxygen.css footer.html header.html \
$(man_MANS) $(doxygen_DOX)
CLEANFILES = doxygen.log stamp-latex stamp-doxygen

doxygen_DOX = libcaca.dox user.dox migrating.dox tutorial.dox canvas.dox font.dox style.dox
man_MANS = caca-config.1 cacafire.1 cacaview.1 cacaserver.1 img2txt.1 cacaplay.1
@@ -20,7 +21,7 @@ latex/libcaca.pdf: stamp-latex

stamp-doxygen: $(doxygen_DOX)
if BUILD_DOCUMENTATION
doxygen doxygen.cfg
doxygen doxygen.cfg 2>&1 | tee doxygen.log
touch stamp-doxygen
endif

@@ -36,10 +37,8 @@ if USE_LATEX
endif
endif

clean: clean-local
clean-local:
-rm -Rf html latex man
-rm -f stamp-latex stamp-doxygen

install-data-local:
if BUILD_DOCUMENTATION
@@ -53,10 +52,10 @@ if BUILD_DOCUMENTATION
sed -e 's/man3caca/man3/g' -e "s/fC'\([a-zA-Z0-9]*\)'/fC\"\1\"/g" \
$$man >$(DESTDIR)$(mandir)/man3/$${man##*/}; \
done
endif
$(mkinstalldirs) $(DESTDIR)$(mandir)/man1
rm -f $(DESTDIR)$(mandir)/man1/cacademo.1
ln -sf cacafire.1 $(DESTDIR)$(mandir)/man1/cacademo.1
endif

uninstall-local:
rm -f $(DESTDIR)$(datadir)/doc/libcucul-dev


+ 1
- 1
doc/doxygen.cfg.in 查看文件

@@ -946,7 +946,7 @@ DISABLE_INDEX = YES
# This tag can be used to set the number of enum values (range [1..20])
# that doxygen will group on one line in the generated HTML documentation.

ENUM_VALUES_PER_LINE = 4
ENUM_VALUES_PER_LINE = 1

# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index
# structure should be generated to display hierarchical information.


+ 0
- 29
examples/.gitignore 查看文件

@@ -1,29 +0,0 @@
blit
canvas
colors
conio
conio-snake
demo
demo0
dithering
driver
event
export
figfont
font
font2tga
frames
fullwidth
gamma
hsv
import
input
mouse
spritedit
swallow
term
text
transform
trifiller
truecolor
unicode

+ 0
- 2
ruby/.gitignore 查看文件

@@ -1,2 +0,0 @@
*/mkmf.log
*/*.so

+ 0
- 7
src/.gitignore 查看文件

@@ -1,7 +0,0 @@
cacaview
cacadraw
cacademo
cacafire
cacaplay
cacaserver
img2txt

+ 0
- 3
test/.gitignore 查看文件

@@ -1,3 +0,0 @@
bench
caca-test
simple

+ 11
- 0
test/check-build 查看文件

@@ -47,6 +47,17 @@ else
echo "0 errors in source code"
fi

#
# Check for Doxygen errors
#
warnings="$(grep -c Warning: ../doc/doxygen.log)"
if test "$warnings" != "0"; then
echo "error: $warnings warnings in Doxygen generation"
ret=1
else
echo "0 errors in documentation"
fi

if test "$ret" != "0"; then
exit 1
fi


+ 0
- 3
tools/.gitignore 查看文件

@@ -1,3 +0,0 @@
optipal
makefont
sortchars

Loading…
取消
儲存