source: auto/output/config_h @ f7b30b9

Last change on this file since f7b30b9 was f7b30b9, checked in by Mateusz Hromada <ruanda@…>, 15 years ago

Improvements on configure script.

  • config.h has more details about project
  • configure creates src directory unless it exists
  • Property mode set to 100755
File size: 366 bytes
Line 
1#!/bin/sh
2
3cat << EOF > ./src/config.h
4#ifndef CONFIG_H
5#define CONFIG_H
6
7#define PROJECT_NAME      "$PROJECT_NAME"
8#define PROJECT_FULLNAME  "$PROJECT_FULLNAME"
9#define PROJECT_COPYRIGHT "$PROJECT_COPYRIGHT"
10#define PROJECT_VERSION   "$PROJECT_VERSION"
11#define PROJECT_PAGE      "$PROJECT_PAGE"
12#define PROJECT_MAIL      "$PROJECT_MAIL"
13
14#endif /* CONFIG_H */
15EOF
16
Note: See TracBrowser for help on using the repository browser.