summaryrefslogtreecommitdiffstats
path: root/qtsharp/src/examples/tutorials/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'qtsharp/src/examples/tutorials/Makefile.am')
-rw-r--r--qtsharp/src/examples/tutorials/Makefile.am24
1 files changed, 24 insertions, 0 deletions
diff --git a/qtsharp/src/examples/tutorials/Makefile.am b/qtsharp/src/examples/tutorials/Makefile.am
new file mode 100644
index 00000000..52d1adce
--- /dev/null
+++ b/qtsharp/src/examples/tutorials/Makefile.am
@@ -0,0 +1,24 @@
+all:
+ csant -D$(CSC_NAME)=$(CSC) -C $(CSC_NAME)
+ chmod 0755 *.exe
+
+clean:
+ rm -rf *.exe
+
+distclean: clean
+
+install:
+ mkdir -p $(DESTDIR)$(datadir)/doc/qtcsharp/tutorials
+ cat t1.cs | gzip -9c > $(DESTDIR)$(datadir)/doc/qtcsharp/tutorials/t1.cs.gz
+ cat t2.cs | gzip -9c > $(DESTDIR)$(datadir)/doc/qtcsharp/tutorials/t2.cs.gz
+ cat t3.cs | gzip -9c > $(DESTDIR)$(datadir)/doc/qtcsharp/tutorials/t3.cs.gz
+ cat t4.cs | gzip -9c > $(DESTDIR)$(datadir)/doc/qtcsharp/tutorials/t4.cs.gz
+ cat t5.cs | gzip -9c > $(DESTDIR)$(datadir)/doc/qtcsharp/tutorials/t5.cs.gz
+ cat t6.cs | gzip -9c > $(DESTDIR)$(datadir)/doc/qtcsharp/tutorials/t6.cs.gz
+ cat t7.cs | gzip -9c > $(DESTDIR)$(datadir)/doc/qtcsharp/tutorials/t7.cs.gz
+
+uninstall:
+ rm -rf $(datadir)/doc/qtcsharp/tutorials/*.cs.gz
+ rm -rf $(datadir)/doc/qtcsharp/tutorials/*.cs
+
+.PHONY: all clean distclean install