diff options
author | cos <cos> | 2014-11-21 22:05:04 +0100 |
---|---|---|
committer | cos <cos> | 2014-12-06 12:50:40 +0100 |
commit | 4611ecfa9f1419b23beac04bcef0e102ec76d489 (patch) | |
tree | 6bed4834001477408a02085742bfb0ef7f5e332e /Makefile | |
parent | 368cdce25f35f31320d2f26d7683fa35a27e18f6 (diff) | |
download | mat-4611ecfa9f1419b23beac04bcef0e102ec76d489.zip |
Add cgi-bin/Makefile + replace Makefile.PL.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..a759288 --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +SUBDIRS = cgi-bin + +.PHONY: subdirs $(SUBDIRS) + +subdirs: $(SUBDIRS) + +$(SUBDIRS): + $(MAKE) -C $@ + +INSTALLDIRS = $(SUBDIRS:%=install-%) + +$(INSTALLDIRS): + $(MAKE) -C $(@:install-%=%) install + +.PHONY: subdirs $(INSTALLDIRS) + +all: + +install: $(INSTALLDIRS) + install -d $(DESTDIR)/usr/bin/ + install mat $(DESTDIR)/usr/bin/ |