|
|
24d066 |
diff -r 91ad7b43317a Makefile.in
|
|
|
24d066 |
--- a/Makefile.in Sun Jun 02 20:48:53 2013 +0600
|
|
|
24d066 |
+++ b/Makefile.in Wed Jun 19 10:34:27 2013 +0200
|
|
|
24d066 |
@@ -98,6 +98,11 @@
|
|
|
24d066 |
$(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(libdir)/pkgconfig
|
|
|
24d066 |
$(INSTALL) -m 644 sdl.pc $(DESTDIR)$(libdir)/pkgconfig
|
|
|
24d066 |
install-man:
|
|
|
24d066 |
+ $(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(mandir)/man1
|
|
|
24d066 |
+ for src in $(srcdir)/docs/man1/*.1; do \
|
|
|
24d066 |
+ file=`echo $$src | sed -e 's|^.*/||'`; \
|
|
|
24d066 |
+ $(INSTALL) -m 644 $$src $(DESTDIR)$(mandir)/man1/$$file; \
|
|
|
24d066 |
+ done
|
|
|
24d066 |
$(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(mandir)/man3
|
|
|
24d066 |
for src in $(srcdir)/docs/man3/*.3; do \
|
|
|
24d066 |
file=`echo $$src | sed -e 's|^.*/||'`; \
|
|
|
24d066 |
@@ -120,6 +125,10 @@
|
|
|
24d066 |
rm -f $(DESTDIR)$(datadir)/aclocal/sdl.m4
|
|
|
24d066 |
rm -f $(DESTDIR)$(libdir)/pkgconfig/sdl.pc
|
|
|
24d066 |
uninstall-man:
|
|
|
24d066 |
+ for src in $(srcdir)/docs/man1/*.1; do \
|
|
|
24d066 |
+ file=`echo $$src | sed -e 's|^.*/||'`; \
|
|
|
24d066 |
+ rm -f $(DESTDIR)$(mandir)/man1/$$file; \
|
|
|
24d066 |
+ done
|
|
|
24d066 |
for src in $(srcdir)/docs/man3/*.3; do \
|
|
|
24d066 |
file=`echo $$src | sed -e 's|^.*/||'`; \
|
|
|
24d066 |
rm -f $(DESTDIR)$(mandir)/man3/$$file; \
|
|
|
24d066 |
diff -r 91ad7b43317a docs/man1/sdl-config.1
|
|
|
24d066 |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
|
|
|
24d066 |
+++ b/docs/man1/sdl-config.1 Wed Jun 19 10:34:27 2013 +0200
|
|
|
24d066 |
@@ -0,0 +1,60 @@
|
|
|
24d066 |
+.TH sdl-config 1 "2013-06-19" "SDL 1.2"
|
|
|
24d066 |
+.SH NAME
|
|
|
24d066 |
+sdl-config \- script to get information about the installed version of SDL
|
|
|
24d066 |
+.SH SYNOPSIS
|
|
|
24d066 |
+\fBsdl-config
|
|
|
24d066 |
+[\~--prefix[=\fIDIR\fP]\~]
|
|
|
24d066 |
+[\~--exec-prefix[=\fIDIR\fP]\~]
|
|
|
24d066 |
+[\~--version\~] [\~--cflags\~] [\~--libs\~] [\~--static-libs\~]\fR
|
|
|
24d066 |
+.SH DESCRIPTION
|
|
|
24d066 |
+.B sdl-config
|
|
|
24d066 |
+is a tool that is used to configure and determine the compiler and linker
|
|
|
24d066 |
+flags that should be used to compile and link programs, and libraries, and
|
|
|
24d066 |
+plugins that use SDL. It is also used internally by the m4 macros that are
|
|
|
24d066 |
+included with SDL.
|
|
|
24d066 |
+.SH OPTIONS
|
|
|
24d066 |
+.TP
|
|
|
24d066 |
+.B --cflags
|
|
|
24d066 |
+Print the compiler flags that are necessary to compile a program or library
|
|
|
24d066 |
+that uses SDL.
|
|
|
24d066 |
+.TP
|
|
|
24d066 |
+.BI --exec-prefix= DIR
|
|
|
24d066 |
+If specified, use
|
|
|
24d066 |
+.I DIR
|
|
|
24d066 |
+instead of the installation exec prefix that SDL was build with when computing
|
|
|
24d066 |
+the output for the --exec-prefix option. This option must be specified before
|
|
|
24d066 |
+any of the --cflags, and --libs options.
|
|
|
24d066 |
+.TP
|
|
|
24d066 |
+.B --libs
|
|
|
24d066 |
+Print the linker flags that are necessary to link a program that uses SDL.
|
|
|
24d066 |
+.TP
|
|
|
24d066 |
+.BI --prefix= DIR
|
|
|
24d066 |
+If specified, use DIR instead of the installation prefix that SDL was built
|
|
|
24d066 |
+with when computing the output for the --prefix, and --exec-prefix options.
|
|
|
24d066 |
+This option is also used for the exec prefix if --exec-prefix was not
|
|
|
24d066 |
+specified. This option must be specified before any of the --cflags, and
|
|
|
24d066 |
+--libs options.
|
|
|
24d066 |
+.TP
|
|
|
24d066 |
+.B --static-libs
|
|
|
24d066 |
+Print the linker flags that are necessary to statically link a program that uses SDL.
|
|
|
24d066 |
+.TP
|
|
|
24d066 |
+.B --version
|
|
|
24d066 |
+Prints the currently installed version of SDL on standard output.
|
|
|
24d066 |
+.SH EXAMPLES
|
|
|
24d066 |
+.TP
|
|
|
24d066 |
+gcc -o main.o $(sdl-config --cflags) main.c
|
|
|
24d066 |
+is how you might use
|
|
|
24d066 |
+.B sdl-config
|
|
|
24d066 |
+to compile a C source file for an executable program.
|
|
|
24d066 |
+.TP
|
|
|
24d066 |
+gcc -o my_app $(sdl-config --libs) main.o util.o
|
|
|
24d066 |
+is how you might use
|
|
|
24d066 |
+.B sdl-config
|
|
|
24d066 |
+to link compiled objects into an executable program.
|
|
|
24d066 |
+.SH AUTHOR
|
|
|
24d066 |
+The Simple DirectMedia Layer (SDL) library was written by Sam Lantinga.
|
|
|
24d066 |
+.PP
|
|
|
24d066 |
+This manual page was written by Branden Robinson, originally for Progeny
|
|
|
24d066 |
+Linux Systems, Inc., and the Debian Project.
|
|
|
24d066 |
+.PP
|
|
|
24d066 |
+This manual page was modified by Petr Pisar to match original SDL distribution.
|