Skip to content
Snippets Groups Projects
Commit de3aca81 authored by James Goppert's avatar James Goppert
Browse files

Fixed packaging.

parent 15f2fc35
No related branches found
No related tags found
No related merge requests found
...@@ -14,3 +14,4 @@ rpm: dist ...@@ -14,3 +14,4 @@ rpm: dist
pkgconfigdir = $(libdir)/pkgconfig pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = jsbsim.pc pkgconfig_DATA = jsbsim.pc
EXTRA_DIST = jsbsim.pc.in
...@@ -104,108 +104,108 @@ AC_DEFINE(socklen_t,size_t)], [ ...@@ -104,108 +104,108 @@ AC_DEFINE(socklen_t,size_t)], [
AC_MSG_RESULT(int) AC_MSG_RESULT(int)
AC_DEFINE(socklen_t,int)])]) AC_DEFINE(socklen_t,int)])])
AC_OUTPUT( \ AC_OUTPUT(
Makefile \ jsbsim.pc
check_cases/Makefile \ Makefile
check_cases/orbit/Makefile \ check_cases/Makefile
check_cases/orbit/logged_data/Makefile \ check_cases/orbit/Makefile
check_cases/orbit/systems/Makefile \ check_cases/orbit/logged_data/Makefile
check_cases/orbit/engine/Makefile \ check_cases/orbit/systems/Makefile
check_cases/orbit/data_output/Makefile \ check_cases/orbit/engine/Makefile
check_cases/orbit/scripts/Makefile \ check_cases/orbit/data_output/Makefile
check_cases/orbit/aircraft/Makefile \ check_cases/orbit/scripts/Makefile
check_cases/orbit/aircraft/ball/Makefile \ check_cases/orbit/aircraft/Makefile
check_cases/orbit/data_plot/Makefile \ check_cases/orbit/aircraft/ball/Makefile
check_cases/ground_tests/Makefile \ check_cases/orbit/data_plot/Makefile
check_cases/ground_tests/logged_data/Makefile \ check_cases/ground_tests/Makefile
check_cases/ground_tests/systems/Makefile \ check_cases/ground_tests/logged_data/Makefile
check_cases/ground_tests/engine/Makefile \ check_cases/ground_tests/systems/Makefile
check_cases/ground_tests/data_output/Makefile \ check_cases/ground_tests/engine/Makefile
check_cases/ground_tests/scripts/Makefile \ check_cases/ground_tests/data_output/Makefile
check_cases/ground_tests/aircraft/Makefile \ check_cases/ground_tests/scripts/Makefile
check_cases/ground_tests/aircraft/groundtest/Makefile \ check_cases/ground_tests/aircraft/Makefile
check_cases/ground_tests/data_plot/Makefile \ check_cases/ground_tests/aircraft/groundtest/Makefile
systems/Makefile \ check_cases/ground_tests/data_plot/Makefile
src/Makefile \ systems/Makefile
src/math/Makefile \ src/Makefile
src/utilities/Makefile \ src/math/Makefile
src/utilities/aeromatic/Makefile \ src/utilities/Makefile
src/initialization/Makefile \ src/utilities/aeromatic/Makefile
src/models/flight_control/Makefile \ src/initialization/Makefile
src/models/Makefile \ src/models/flight_control/Makefile
src/models/atmosphere/Makefile \ src/models/Makefile
src/models/propulsion/Makefile \ src/models/atmosphere/Makefile
src/input_output/Makefile \ src/models/propulsion/Makefile
src/simgear/Makefile \ src/input_output/Makefile
src/simgear/xml/Makefile \ src/simgear/Makefile
src/simgear/props/Makefile \ src/simgear/xml/Makefile
src/simgear/magvar/Makefile \ src/simgear/props/Makefile
src/simgear/misc/Makefile \ src/simgear/magvar/Makefile
engine/Makefile \ src/simgear/misc/Makefile
data_output/Makefile \ engine/Makefile
scripts/Makefile \ data_output/Makefile
aircraft/SGS/Makefile \ scripts/Makefile
aircraft/MD11/Makefile \ aircraft/SGS/Makefile
aircraft/Makefile \ aircraft/MD11/Makefile
aircraft/B17/Makefile \ aircraft/Makefile
aircraft/c172x/Makefile \ aircraft/B17/Makefile
aircraft/f104/Makefile \ aircraft/c172x/Makefile
aircraft/C130/Makefile \ aircraft/f104/Makefile
aircraft/Shuttle/Makefile \ aircraft/C130/Makefile
aircraft/T38/Makefile \ aircraft/Shuttle/Makefile
aircraft/LM/Makefile \ aircraft/T38/Makefile
aircraft/f16/Systems/Makefile \ aircraft/LM/Makefile
aircraft/f16/Makefile \ aircraft/f16/Systems/Makefile
aircraft/B747/Makefile \ aircraft/f16/Makefile
aircraft/minisgs/Makefile \ aircraft/B747/Makefile
aircraft/sgs126/Makefile \ aircraft/minisgs/Makefile
aircraft/DHC6/Makefile \ aircraft/sgs126/Makefile
aircraft/ZLT-NT/Systems/Makefile \ aircraft/DHC6/Makefile
aircraft/ZLT-NT/Makefile \ aircraft/ZLT-NT/Systems/Makefile
aircraft/blank/Makefile \ aircraft/ZLT-NT/Makefile
aircraft/pc7/Makefile \ aircraft/blank/Makefile
aircraft/OV10/Makefile \ aircraft/pc7/Makefile
aircraft/x24b/Makefile \ aircraft/OV10/Makefile
aircraft/fokker100/Systems/Makefile \ aircraft/x24b/Makefile
aircraft/fokker100/Makefile \ aircraft/fokker100/Systems/Makefile
aircraft/dr1/Makefile \ aircraft/fokker100/Makefile
aircraft/737/Makefile \ aircraft/dr1/Makefile
aircraft/f22/Makefile \ aircraft/737/Makefile
aircraft/t6texan2/Makefile \ aircraft/f22/Makefile
aircraft/pogo-jsbsim/Makefile \ aircraft/t6texan2/Makefile
aircraft/pogo-jsbsim/Engines/Makefile \ aircraft/pogo-jsbsim/Makefile
aircraft/p51d/Systems/Makefile \ aircraft/pogo-jsbsim/Engines/Makefile
aircraft/p51d/Makefile \ aircraft/p51d/Systems/Makefile
aircraft/p51d/Engines/Makefile \ aircraft/p51d/Makefile
aircraft/paraglider/Makefile \ aircraft/p51d/Engines/Makefile
aircraft/J246/Systems/Makefile \ aircraft/paraglider/Makefile
aircraft/J246/Makefile \ aircraft/J246/Systems/Makefile
aircraft/F4N/Makefile \ aircraft/J246/Makefile
aircraft/F4N/Engines/Makefile \ aircraft/F4N/Makefile
aircraft/c310/Makefile \ aircraft/F4N/Engines/Makefile
aircraft/c182/Makefile \ aircraft/c310/Makefile
aircraft/ball/Makefile \ aircraft/c182/Makefile
aircraft/XB-70/Makefile \ aircraft/ball/Makefile
aircraft/c172r/Makefile \ aircraft/XB-70/Makefile
aircraft/A320/Makefile \ aircraft/c172r/Makefile
aircraft/L410/Makefile \ aircraft/A320/Makefile
aircraft/fokker50/Makefile \ aircraft/L410/Makefile
aircraft/mk82/Makefile \ aircraft/fokker50/Makefile
aircraft/Submarine_Scout/Systems/Makefile \ aircraft/mk82/Makefile
aircraft/Submarine_Scout/Makefile \ aircraft/Submarine_Scout/Systems/Makefile
aircraft/T37/Makefile \ aircraft/Submarine_Scout/Makefile
aircraft/sgs233/Makefile \ aircraft/T37/Makefile
aircraft/Concorde/Makefile \ aircraft/sgs233/Makefile
aircraft/L17/Makefile \ aircraft/Concorde/Makefile
aircraft/Short_S23/Systems/Makefile \ aircraft/L17/Makefile
aircraft/Short_S23/Makefile \ aircraft/Short_S23/Systems/Makefile
aircraft/A4/Makefile \ aircraft/Short_S23/Makefile
aircraft/c172p/Makefile \ aircraft/A4/Makefile
aircraft/f15/Makefile \ aircraft/c172p/Makefile
aircraft/pa28/Makefile \ aircraft/f15/Makefile
aircraft/ah1s/Makefile \ aircraft/pa28/Makefile
aircraft/X15/Makefile \ aircraft/ah1s/Makefile
aircraft/F80C/Makefile \ aircraft/X15/Makefile
aircraft/Boeing314/Makefile \ aircraft/F80C/Makefile
data_plot/Makefile aircraft/Boeing314/Makefile
) data_plot/Makefile )
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
dataDirs="aircraft engine systems" dataDirs="aircraft engine systems"
fileRegex="\(.*\.\(xml\|ac\|dcm\|blend\)\|.*INSTALL.*\|.*README.*\)" fileRegex="\(.*\.\(xml\|ac\|dcm\|blend\)\|.*INSTALL.*\|.*README.*\)"
configFile="configure.in" configFile="configure.in"
extraConfigFiles="jsbsim.pc"
echo generating data makefiles for: $dataDirs echo generating data makefiles for: $dataDirs
topDir=$(pwd) topDir=$(pwd)
...@@ -43,9 +44,10 @@ done ...@@ -43,9 +44,10 @@ done
# update configuration file # update configuration file
echo updating makefile list in: $configFile echo updating makefile list in: $configFile
cd $topDir cd $topDir
sed -i "/AC_OUTPUT/,/')'/ d" $configFile
echo "AC_OUTPUT( \\" >> $configFile files=$(find . -name Makefile.am | sed -e '/^\.$/d' \
find . -name Makefile.am | sed -e '/^\.$/d' \
-e 's:$: \\:g' -e 's:^\./:\t:g' \ -e 's:$: \\:g' -e 's:^\./:\t:g' \
-e '$s:\\::g' -e '/^\t\..*/d' -e 's/\.am//g' >> $configFile -e '$s:\\::g' -e '/^\t\..*/d' -e 's/\.am//g')
echo ")" >> $configFile sed -i "/AC_OUTPUT/,/)/ c AC_OUTPUT( \\
${extraConfigFiles} \\
${files})" $configFile
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment