utt/auto/output/config_h
Mateusz Hromada f7b30b9fc6 Improvements on configure script.
* config.h has more details about project
 * configure creates src directory unless it exists
2009-06-05 00:52:29 +02:00

17 lines
366 B
Bash
Executable File

#!/bin/sh
cat << EOF > ./src/config.h
#ifndef CONFIG_H
#define CONFIG_H
#define PROJECT_NAME "$PROJECT_NAME"
#define PROJECT_FULLNAME "$PROJECT_FULLNAME"
#define PROJECT_COPYRIGHT "$PROJECT_COPYRIGHT"
#define PROJECT_VERSION "$PROJECT_VERSION"
#define PROJECT_PAGE "$PROJECT_PAGE"
#define PROJECT_MAIL "$PROJECT_MAIL"
#endif /* CONFIG_H */
EOF