Magellan Linux

Annotation of /alx-src/branches/alx-web-070/include/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8536 - (hide annotations) (download)
Mon Feb 8 12:24:07 2016 UTC (8 years, 3 months ago) by niro
File size: 560 byte(s)
-install alx-web configuration file to SYSCONFDIR/alx-web
1 niro 8535 include ../Makefile.inc
2    
3 niro 8536 CONFIG = config.inc.php
4     FILES = basesql.php common-functions.php current-problems.php \
5 niro 8535 dbconn.php error.php ppping.inc.php socket_send.php
6    
7     all: $(FILES)
8    
9     install: all
10 niro 8536 $(INSTALL) -d $(DESTDIR)/$(SYSCONFDIR)/alx-web
11     $(INSTALL) -m0644 $(CONFIG) $(DESTDIR)/$(SYSCONFDIR)/alx-web
12 niro 8535 $(INSTALL) -d $(DESTDIR)/$(ALX_WEB_INSTALL_DIR)/include
13     $(INSTALL) -m0644 $(FILES) $(DESTDIR)/$(ALX_WEB_INSTALL_DIR)/include
14 niro 8536 $(LN_S) $(SYSCONFDIR)/alx-web/$(CONFIG) $(DESTDIR)/$(ALX_WEB_INSTALL_DIR)/include/$(CONFIG)
15 niro 8535
16     clean:
17    
18     .PHONY: all install clean