Skip to content
Snippets Groups Projects
Commit 22bb1477 authored by Christoph Grüninger's avatar Christoph Grüninger
Browse files

[cleanup] Remove stamp-vc and related code

parent 16ac25a9
No related branches found
No related tags found
No related merge requests found
......@@ -538,7 +538,7 @@ run_default_vcsetup() {
fi
# Run custom setup scripts
if [ -d .git -o -f .git -o -d .svn -o -d CVS -o -f stamp-vc ]; then
if [ -d .git -o -f .git -o -d .svn -o -d CVS ]; then
if [ -d .vcsetup/run.d ]; then
for SCRIPT in .vcsetup/run.d/* ; do
if [ -x "$SCRIPT" ]; then
......
......@@ -445,10 +445,6 @@ add_subdirectory("cmake/modules")
finalize_dune_project(GENERATE_CONFIG_H_CMAKE)
M_DELIM
################## STAMP-VC ##################
echo "- $PROJECT/stamp-vc"
echo 'A stamp file to signify that this directory comes from a version control system, not an unpacked tarball' > $PROJECT/stamp-vc
################## PROJECT.PC.IN ##################
echo "- $PROJECT/$MODULE.pc.in"
cat> "$PROJECT/$MODULE.pc.in" << CC_DELIM
......
......@@ -945,8 +945,7 @@ endif()
dune_regenerate_config_cmake()
# add a target to generate config.h.cmake
add_custom_target(OUTPUT config_collected.h.cmake
COMMAND dune_regenerate_config_cmake()
DEPENDS stamp-regenerate-config-h)
COMMAND dune_regenerate_config_cmake())
# actually write the config.h file to disk
# using generated file
configure_file(${CMAKE_CURRENT_BINARY_DIR}/config_collected.h.cmake
......
......@@ -60,9 +60,6 @@ This is the perfect place to put your checks for external packages, see below.
The file :code:`config.h.cmake` defines a template for the section of :code:`config.h`, that is generated by the module.
The file :code:`stamp-regenerate-config-h` also belongs to the CMake build system.
You can trigger regeneration of :code:`config.h` by touching it.
.. _porting:
How do I port an existing module?
......
Subversion is used for revision control. The repository is located at
'https://svn.dune-project.org/svn/dune-common'.
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