blob: 45c348bece094936d72e07cdc3e22e1e8e0e0755 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
--- component.am.orig 2008-11-03
+++ component.am 2008-11-03
@@ -2,22 +2,25 @@
gblib_DATA = $(COMPONENT).component
install-data-hook:
- @$(INSTALL) -d $(DESTDIR)$(gbdatadir)/info
+ @echo; \
+ $(INSTALL) -d $(DESTDIR)$(gbdatadir)/info
+
@if test -d $(COMPONENT); then \
- echo "Compiling the $(COMPONENT) project..."; \
( \
+ echo "Creating the information files for $(COMPONENT) component ..."; \
$(DESTDIR)$(bindir)/gbi$(GAMBAS_VERSION) -r $(DESTDIR)$(prefix) $(COMPONENT); \
+ echo -n "Compiling the $(COMPONENT) project ... "; \
cd $(COMPONENT); \
- $(DESTDIR)$(bindir)/gbc$(GAMBAS_VERSION) -ag -r $(DESTDIR)$(prefix); \
+ $(DESTDIR)$(bindir)/gbc$(GAMBAS_VERSION) -ag -r $(DESTDIR)$(prefix) && \
$(DESTDIR)$(bindir)/gba$(GAMBAS_VERSION); \
rm -rf .gambas; \
$(INSTALL) $(COMPONENT).gambas $(DESTDIR)$(gblibdir); \
) \
fi
- @echo
- @echo "Creating the information files for $(COMPONENT) component..."
- @$(DESTDIR)$(bindir)/gbi$(GAMBAS_VERSION) -r $(DESTDIR)$(prefix) $(COMPONENT)
- @echo
+
+ @echo "Creating the information files for $(COMPONENT) component ..."; \
+ $(DESTDIR)$(bindir)/gbi$(GAMBAS_VERSION) -r $(DESTDIR)$(prefix) $(COMPONENT); \
+ echo
uninstall-hook:
@if test -d $(COMPONENT); then \
|