Changeset 131 in Main
- Timestamp:
- Sep 23, 2024, 7:30:00 PM (8 weeks ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile
r130 r131 36 36 install: all ./Tool/genconf ./Tool/itworks 37 37 mkdir -p $(PREFIX)/bin $(PREFIX)/lib/tewi $(PREFIX)/share/man/man5 $(PREFIX)/etc $(PREFIX)/www 38 if [ ! -e $(PREFIX)/etc/tewi.conf ]; then ( ./Tool/genconf $(PREFIX) > $(PREFIX)/etc/tewi.conf || ( rm $(PREFIX)/etc/tewi.conf ; exit 1 ) ) ; fi38 if [ ! -e $(PREFIX)/etc/tewi.conf ]; then ( ./Tool/genconf $(PREFIX) lib/tewi so > $(PREFIX)/etc/tewi.conf || ( rm $(PREFIX)/etc/tewi.conf ; exit 1 ) ) ; fi 39 39 if [ ! -e $(PREFIX)/www/index.html ]; then ( ./Tool/itworks > $(PREFIX)/www/index.html || ( rm $(PREFIX)/www/index.html ; exit 1 ) ) ; fi 40 40 if [ ! -e $(PREFIX)/www/pbtewi.gif ]; then ( cp Binary/pbtewi.gif $(PREFIX)/www/ || ( rm $(PREFIX)/www/pbtewi.gif ; exit 1 ) ) ; fi -
trunk/Server/tw_version.h
r130 r131 4 4 #define __TW_VERSION_H__ 5 5 6 #define TW_VERSION "1.04 A\0"6 #define TW_VERSION "1.04B\0" 7 7 8 8 const char* tw_get_version(void); -
trunk/Tool/genconf.c
r129 r131 6 6 7 7 int main(int argc, char** argv) { 8 if(argc < 2) {8 if(argc < 4) { 9 9 return 1; 10 10 } … … 19 19 printf("ServerAdmin %s\n", SERVER_ADMIN); 20 20 printf("\n"); 21 printf("LoadModule lib/tewi/mod_cgi.so\n");22 printf("#LoadModule lib/tewi/mod_proxy.so\n");21 printf("LoadModule %s/mod_cgi.%s\n", argv[2], argv[3]); 22 printf("#LoadModule %s/mod_proxy.%s\n", argv[2], argv[3]); 23 23 printf("\n"); 24 24 printf("Listen 80\n"); -
trunk/installer.sh
r130 r131 23 23 cp Server/tewi.exe tewi-service.exe 24 24 cd Server 25 ../Tool/genconf "C:/Tewi" > ../generated.conf25 ../Tool/genconf "C:/Tewi" modules dll > ../generated.conf 26 26 ../Tool/itworks > ../itworks.html 27 27 makensis -DVERSION=$VERSION install.nsi … … 39 39 cp Server/tewi.exe tewi-service.exe 40 40 cd Server 41 ../Tool/genconf "C:/Tewi" > ../generated.conf41 ../Tool/genconf "C:/Tewi" modules dll > ../generated.conf 42 42 ../Tool/itworks > ../itworks.html 43 43 makensis -DVERSION=$VERSION install.nsi
Note:
See TracChangeset
for help on using the changeset viewer.