mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-06 06:40:05 +02:00
* all packages install examples in a subdir
This commit is contained in:
parent
1d06b07e42
commit
49dbe721cc
@ -192,6 +192,7 @@ override EXAMPLEOBJECTS+=testcmem
|
|||||||
|
|
||||||
# Install
|
# Install
|
||||||
|
|
||||||
|
EXAMPLESUBDIR=cmem
|
||||||
ZIPTARGET=install
|
ZIPTARGET=install
|
||||||
|
|
||||||
# Defaults
|
# Defaults
|
||||||
|
@ -6,6 +6,9 @@
|
|||||||
units=cmem
|
units=cmem
|
||||||
examples=testcmem
|
examples=testcmem
|
||||||
|
|
||||||
|
[install]
|
||||||
|
examplesubdir=cmem
|
||||||
|
|
||||||
[dirs]
|
[dirs]
|
||||||
fpcdir=../..
|
fpcdir=../..
|
||||||
|
|
||||||
|
@ -192,6 +192,7 @@ override EXAMPLEOBJECTS+=ggi1
|
|||||||
|
|
||||||
# Install
|
# Install
|
||||||
|
|
||||||
|
EXAMPLESUBDIR=ggi
|
||||||
ZIPTARGET=install
|
ZIPTARGET=install
|
||||||
|
|
||||||
# Defaults
|
# Defaults
|
||||||
|
@ -6,5 +6,8 @@
|
|||||||
units=gii ggi ggi2d
|
units=gii ggi ggi2d
|
||||||
examples=ggi1
|
examples=ggi1
|
||||||
|
|
||||||
|
[install]
|
||||||
|
examplesubdir=ggi
|
||||||
|
|
||||||
[dirs]
|
[dirs]
|
||||||
fpcdir=../..
|
fpcdir=../..
|
||||||
|
@ -192,6 +192,7 @@ override EXAMPLEOBJECTS+=testib40 testib60
|
|||||||
|
|
||||||
# Install
|
# Install
|
||||||
|
|
||||||
|
EXAMPLESUBDIR=ibase
|
||||||
ZIPTARGET=install
|
ZIPTARGET=install
|
||||||
|
|
||||||
# Defaults
|
# Defaults
|
||||||
|
@ -6,6 +6,9 @@
|
|||||||
units=ibase40 ibase60
|
units=ibase40 ibase60
|
||||||
examples=testib40 testib60
|
examples=testib40 testib60
|
||||||
|
|
||||||
|
[install]
|
||||||
|
examplesubdir=ibase
|
||||||
|
|
||||||
[dirs]
|
[dirs]
|
||||||
fpcdir=../..
|
fpcdir=../..
|
||||||
|
|
||||||
|
@ -192,6 +192,7 @@ override EXAMPLEOBJECTS+=testinet pfinger
|
|||||||
|
|
||||||
# Install
|
# Install
|
||||||
|
|
||||||
|
EXAMPLESUBDIR=inet
|
||||||
ZIPTARGET=install
|
ZIPTARGET=install
|
||||||
|
|
||||||
# Defaults
|
# Defaults
|
||||||
|
@ -6,6 +6,9 @@
|
|||||||
units=inet
|
units=inet
|
||||||
examples=testinet pfinger
|
examples=testinet pfinger
|
||||||
|
|
||||||
|
[install]
|
||||||
|
examplesubdir=inet
|
||||||
|
|
||||||
[dirs]
|
[dirs]
|
||||||
fpcdir=../..
|
fpcdir=../..
|
||||||
|
|
||||||
|
@ -192,6 +192,7 @@ override EXAMPLEOBJECTS+=testdb
|
|||||||
|
|
||||||
# Install
|
# Install
|
||||||
|
|
||||||
|
EXAMPLESUBDIR=mysql
|
||||||
ZIPTARGET=install
|
ZIPTARGET=install
|
||||||
|
|
||||||
# Defaults
|
# Defaults
|
||||||
|
@ -6,6 +6,9 @@
|
|||||||
units=mysql_com mysql_version mysql
|
units=mysql_com mysql_version mysql
|
||||||
examples=testdb
|
examples=testdb
|
||||||
|
|
||||||
|
[install]
|
||||||
|
examplesubdir=mysql
|
||||||
|
|
||||||
[dirs]
|
[dirs]
|
||||||
fpcdir=../..
|
fpcdir=../..
|
||||||
|
|
||||||
|
@ -192,6 +192,7 @@ override EXAMPLEOBJECTS+=firework testn ocrt_demo edit_demo db_demo
|
|||||||
|
|
||||||
# Install
|
# Install
|
||||||
|
|
||||||
|
EXAMPLESUBDIR=ncurses
|
||||||
ZIPTARGET=install
|
ZIPTARGET=install
|
||||||
|
|
||||||
# Defaults
|
# Defaults
|
||||||
|
@ -6,6 +6,9 @@
|
|||||||
units=ncurses panel ncrt ocrt
|
units=ncurses panel ncrt ocrt
|
||||||
examples=firework testn ocrt_demo edit_demo db_demo
|
examples=firework testn ocrt_demo edit_demo db_demo
|
||||||
|
|
||||||
|
[install]
|
||||||
|
examplesubdir=ncurses
|
||||||
|
|
||||||
[dirs]
|
[dirs]
|
||||||
fpcdir=../..
|
fpcdir=../..
|
||||||
|
|
||||||
|
@ -192,6 +192,7 @@ override EXAMPLEOBJECTS+=testpg1 testpg2
|
|||||||
|
|
||||||
# Install
|
# Install
|
||||||
|
|
||||||
|
EXAMPLESUBDIR=postgres
|
||||||
ZIPTARGET=install
|
ZIPTARGET=install
|
||||||
|
|
||||||
# Defaults
|
# Defaults
|
||||||
|
@ -6,5 +6,8 @@
|
|||||||
units=dllist postgres
|
units=dllist postgres
|
||||||
examples=testpg1 testpg2
|
examples=testpg1 testpg2
|
||||||
|
|
||||||
|
[install]
|
||||||
|
examplesubdir=postgres
|
||||||
|
|
||||||
[dirs]
|
[dirs]
|
||||||
fpcdir=../..
|
fpcdir=../..
|
||||||
|
@ -192,6 +192,7 @@ override EXAMPLEOBJECTS+=testreg1
|
|||||||
|
|
||||||
# Install
|
# Install
|
||||||
|
|
||||||
|
EXAMPLESUBDIR=regexpr
|
||||||
ZIPTARGET=install
|
ZIPTARGET=install
|
||||||
|
|
||||||
# Defaults
|
# Defaults
|
||||||
|
@ -6,5 +6,8 @@
|
|||||||
units=regexpr
|
units=regexpr
|
||||||
examples=testreg1
|
examples=testreg1
|
||||||
|
|
||||||
|
[install]
|
||||||
|
examplesubdir=regexpr
|
||||||
|
|
||||||
[dirs]
|
[dirs]
|
||||||
fpcdir=../..
|
fpcdir=../..
|
||||||
|
@ -192,6 +192,7 @@ override EXAMPLEOBJECTS+=testvga vgatest
|
|||||||
|
|
||||||
# Install
|
# Install
|
||||||
|
|
||||||
|
EXAMPLESUBDIR=svgalib
|
||||||
ZIPTARGET=install
|
ZIPTARGET=install
|
||||||
|
|
||||||
# Defaults
|
# Defaults
|
||||||
|
@ -6,5 +6,8 @@
|
|||||||
units=svgalib vgamouse
|
units=svgalib vgamouse
|
||||||
examples=testvga vgatest
|
examples=testvga vgatest
|
||||||
|
|
||||||
|
[install]
|
||||||
|
examplesubdir=svgalib
|
||||||
|
|
||||||
[dirs]
|
[dirs]
|
||||||
fpcdir=../..
|
fpcdir=../..
|
||||||
|
@ -192,6 +192,7 @@ override EXAMPLEOBJECTS+=testlog
|
|||||||
|
|
||||||
# Install
|
# Install
|
||||||
|
|
||||||
|
EXAMPLESUBDIR=syslog
|
||||||
ZIPTARGET=install
|
ZIPTARGET=install
|
||||||
|
|
||||||
# Defaults
|
# Defaults
|
||||||
|
@ -6,5 +6,8 @@
|
|||||||
units=systemlog
|
units=systemlog
|
||||||
examples=testlog
|
examples=testlog
|
||||||
|
|
||||||
|
[install]
|
||||||
|
examplesubdir=syslog
|
||||||
|
|
||||||
[dirs]
|
[dirs]
|
||||||
fpcdir=../..
|
fpcdir=../..
|
||||||
|
@ -192,6 +192,7 @@ override EXAMPLEOBJECTS+=testcgi
|
|||||||
|
|
||||||
# Install
|
# Install
|
||||||
|
|
||||||
|
EXAMPLESUBDIR=uncgi
|
||||||
ZIPTARGET=install
|
ZIPTARGET=install
|
||||||
|
|
||||||
# Defaults
|
# Defaults
|
||||||
@ -778,8 +779,6 @@ install: fpc_install
|
|||||||
|
|
||||||
sourceinstall: fpc_sourceinstall
|
sourceinstall: fpc_sourceinstall
|
||||||
|
|
||||||
exampleinstall: fpc_exampleinstall
|
|
||||||
|
|
||||||
zipinstall: fpc_zipinstall
|
zipinstall: fpc_zipinstall
|
||||||
|
|
||||||
zipsourceinstall: fpc_zipsourceinstall
|
zipsourceinstall: fpc_zipsourceinstall
|
||||||
@ -794,7 +793,7 @@ cleanall: fpc_cleanall
|
|||||||
|
|
||||||
info: fpc_info
|
info: fpc_info
|
||||||
|
|
||||||
.PHONY: all debug examples test smart shared showinstall install sourceinstall exampleinstall zipinstall zipsourceinstall zipexampleinstall clean distclean cleanall info
|
.PHONY: all debug examples test smart shared showinstall install sourceinstall zipinstall zipsourceinstall zipexampleinstall clean distclean cleanall info
|
||||||
|
|
||||||
#####################################################################
|
#####################################################################
|
||||||
# Units
|
# Units
|
||||||
@ -1179,3 +1178,9 @@ ifneq ($(wildcard fpcmake.loc),)
|
|||||||
include fpcmake.loc
|
include fpcmake.loc
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
#####################################################################
|
||||||
|
# Users rules
|
||||||
|
#####################################################################
|
||||||
|
|
||||||
|
exampleinstall: fpc_exampleinstall
|
||||||
|
$(COPY) testcgi.sh testcgi.bat $(EXAMPLEINSTALLDIR)
|
||||||
|
@ -6,5 +6,12 @@
|
|||||||
units=uncgi
|
units=uncgi
|
||||||
examples=testcgi
|
examples=testcgi
|
||||||
|
|
||||||
|
[install]
|
||||||
|
examplesubdir=uncgi
|
||||||
|
|
||||||
[dirs]
|
[dirs]
|
||||||
fpcdir=../..
|
fpcdir=../..
|
||||||
|
|
||||||
|
[rules]
|
||||||
|
exampleinstall: fpc_exampleinstall
|
||||||
|
$(COPY) testcgi.sh testcgi.bat $(EXAMPLEINSTALLDIR)
|
||||||
|
@ -192,6 +192,7 @@ override EXAMPLEOBJECTS+=testutmp
|
|||||||
|
|
||||||
# Install
|
# Install
|
||||||
|
|
||||||
|
EXAMPLESUBDIR=utmp
|
||||||
ZIPTARGET=install
|
ZIPTARGET=install
|
||||||
|
|
||||||
# Defaults
|
# Defaults
|
||||||
|
@ -6,6 +6,9 @@
|
|||||||
units=utmp
|
units=utmp
|
||||||
examples=testutmp
|
examples=testutmp
|
||||||
|
|
||||||
|
[install]
|
||||||
|
examplesubdir=utmp
|
||||||
|
|
||||||
[dirs]
|
[dirs]
|
||||||
fpcdir=../..
|
fpcdir=../..
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user