diff options
author | Mattias Andrée <maandree@kth.se> | 2018-01-06 09:24:37 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2018-01-06 09:26:27 +0100 |
commit | 949be62a369f0a9eb0ad9d54d4b40c104e61a4cc (patch) | |
tree | 18fdbe79919b1ca3ee90a00a09fb61ba63c6a7fb /Makefile | |
parent | xcompmgr 1.1.7 (diff) | |
download | xcman-949be62a369f0a9eb0ad9d54d4b40c104e61a4cc.tar.gz xcman-949be62a369f0a9eb0ad9d54d4b40c104e61a4cc.tar.bz2 xcman-949be62a369f0a9eb0ad9d54d4b40c104e61a4cc.tar.xz |
Simplify and remove all features1.0
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | Makefile | 27 | ||||
-rw-r--r-- | Makefile.am | 19 |
2 files changed, 27 insertions, 19 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..afde4e8 --- /dev/null +++ b/Makefile @@ -0,0 +1,27 @@ +.POSIX: + +CONFIGFILE = config.mk +include $(CONFIGFILE) + +all: xcman + +install: xcman + mkdir -p -- "$(DESTDIR)$(PREFIX)/bin" + mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man1" + mkdir -p -- "$(DESTDIR)$(PREFIX)/share/licenses/xcman" + cp -- xcman "$(DESTDIR)$(PREFIX)/bin" + cp -- xcman.1 "$(DESTDIR)$(MANPREFIX)/man1" + cp -- LICENSE "$(DESTDIR)$(PREFIX)/share/licenses/xcman" + +uninstall: + -rm -f -- "$(DESTDIR)$(PREFIX)/bin/xcman" + -rm -f -- "$(DESTDIR)$(MANPREFIX)/man1/xcman.1" + -rm -rf -- "$(DESTDIR)$(PREFIX)/share/licenses/xcman" + +clean: + -rm -f -- xcman + +.SUFFIXES: +.SUFFIXES: .c + +.PHONY: all install uninstall clean diff --git a/Makefile.am b/Makefile.am deleted file mode 100644 index 25d5adb..0000000 --- a/Makefile.am +++ /dev/null @@ -1,19 +0,0 @@ -SUBDIRS = man - -bin_PROGRAMS = xcompmgr - -AM_CFLAGS = $(CWARNFLAGS) $(XCOMPMGR_CFLAGS) -xcompmgr_LDADD = $(XCOMPMGR_LIBS) -lm - -MAINTAINERCLEANFILES = ChangeLog INSTALL - -.PHONY: ChangeLog INSTALL - -INSTALL: - $(INSTALL_CMD) - -ChangeLog: - $(CHANGELOG_CMD) - -dist-hook: ChangeLog INSTALL - |