~eloaders/i-nex/I-Nex

« back to all changes in this revision

Viewing changes to I-Nex/Makefile.am

  • Committer: eloaders
  • Date: 2016-08-20 07:01:09 UTC
  • Revision ID: git-v1:f033111c0b2f9d910dedd5187669de067c5fb34d
Update Automake

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
all:
4
4
        @(if test "$(COMPONENT_build)" = "1"; then \
5
 
         echo "Building $(PACKAGE) component..."; \
 
5
         echo "Building $(COMPONENT_name) component..."; \
6
6
        else \
7
7
         echo "Compiling $(PACKAGE) project..."; \
8
8
        fi)
15
15
        if test "$(COMPONENT_build)" = "1"; then \
16
16
         echo "Installing $(PACKAGE).gambas in $(GBLIBRARY_path)"; \
17
17
         $(INSTALL) -d $(DESTDIR)/$(GBLIBRARY_path); \
18
 
         $(INSTALL) $(PACKAGE).gambas $(DESTDIR)/$(GBLIBRARY_path); \
 
18
         $(INSTALL) $(PACKAGE).gambas $(DESTDIR)/$(GBLIBRARY_path)/$(COMPONENT_name).gambas; \
19
19
         echo "Installing $(PACKAGE).component in $(GBLIBRARY_path)"; \
20
20
         $(INSTALL) -d $(DESTDIR)/$(GBLIBRARY_path); \
21
 
         $(INSTALL) .component $(DESTDIR)/$(GBLIBRARY_path)/$(PACKAGE).component; \
22
 
         chmod a-x $(DESTDIR)/$(GBLIBRARY_path)/$(PACKAGE).component; \
 
21
         $(INSTALL) .component $(DESTDIR)/$(GBLIBRARY_path)/$(COMPONENT_name).component; \
 
22
         chmod a-x $(DESTDIR)/$(GBLIBRARY_path)/$(COMPONENT_name).component; \
23
23
         echo "Installing $(PACKAGE).info in $(GBINFO_path)"; \
24
 
         $(INSTALL) -d .info $(DESTDIR)/$(GBINFO_path); \
25
 
         $(INSTALL) .info $(DESTDIR)/$(GBINFO_path)/$(PACKAGE).info; \
26
 
         chmod a-x $(DESTDIR)/$(GBINFO_path)/$(PACKAGE).info; \
 
24
         $(INSTALL) -d $(DESTDIR)/$(GBINFO_path); \
 
25
         $(INSTALL) .info $(DESTDIR)/$(GBINFO_path)/$(COMPONENT_name).info; \
 
26
         chmod a-x $(DESTDIR)/$(GBINFO_path)/$(COMPONENT_name).info; \
27
27
         echo "Installing $(PACKAGE).list in $(GBINFO_path)"; \
28
 
         $(INSTALL) .list $(DESTDIR)/$(GBINFO_path)/$(PACKAGE).list; \
29
 
         chmod a-x $(DESTDIR)/$(GBINFO_path)/$(PACKAGE).list; \
 
28
         $(INSTALL) .list $(DESTDIR)/$(GBINFO_path)/$(COMPONENT_name).list; \
 
29
         chmod a-x $(DESTDIR)/$(GBINFO_path)/$(COMPONENT_name).list; \
30
30
         if test -d .hidden/control; then \
31
31
          echo "Installing controls in $(GBCONTROL_path)"; \
32
 
          $(INSTALL) -d $(DESTDIR)/$(GBCONTROL_path)/$(PACKAGE); \
33
 
          $(INSTALL) .hidden/control/*.png $(DESTDIR)/$(GBCONTROL_path)/$(PACKAGE); \
34
 
          chmod a-x $(DESTDIR)/$(GBCONTROL_path)/$(PACKAGE)/*.png; \
 
32
          $(INSTALL) -d $(DESTDIR)/$(GBCONTROL_path)/$(COMPONENT_name); \
 
33
          $(INSTALL) .hidden/control/*.png $(DESTDIR)/$(GBCONTROL_path)/$(COMPONENT_name); \
 
34
          chmod a-x $(DESTDIR)/$(GBCONTROL_path)/$(COMPONENT_name)/*.png; \
35
35
         fi \
36
36
        else \
37
37
         echo "Installing $(PACKAGE).gambas file in $(bindir)..."; \
41
41
 
42
42
uninstall-local:
43
43
        @(if test "$(COMPONENT_build)" = "1"; then \
44
 
         echo "Removing $(PACKAGE) component..."; \
45
 
         rm -f $(DESTDIR)/$(GBLIBRARY_path)/$(PACKAGE).gambas; \
46
 
         rm -f $(DESTDIR)/$(GBLIBRARY_path)/$(PACKAGE).component; \
47
 
         rm -f $(DESTDIR)/$(GBINFO_path)/$(PACKAGE).info; \
48
 
         rm -f $(DESTDIR)/$(GBINFO_path)/$(PACKAGE).list; \
49
 
         rm -rf $(DESTDIR)/$(GBCONTROL_path)/$(PACKAGE); \
 
44
         echo "Removing $(COMPONENT_name) component..."; \
 
45
         rm -f $(DESTDIR)/$(GBLIBRARY_path)/$(COMPONENT_name).gambas; \
 
46
         rm -f $(DESTDIR)/$(GBLIBRARY_path)/$(COMPONENT_name).component; \
 
47
         rm -f $(DESTDIR)/$(GBINFO_path)/$(COMPONENT_name).info; \
 
48
         rm -f $(DESTDIR)/$(GBINFO_path)/$(COMPONENT_name).list; \
 
49
         rm -rf $(DESTDIR)/$(GBCONTROL_path)/$(COMPONENT_name); \
50
50
        else \
51
51
         echo "Removing $(PACKAGE).gambas file..."; \
52
52
         rm -f $(DESTDIR)$(bindir)/$(PACKAGE).gambas; \