aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2015-12-27 15:49:21 +0100
committerMattias Andrée <maandree@member.fsf.org>2015-12-27 15:49:26 +0100
commitc35a027acf77cb6a6024228fe5ad0647594862fc (patch)
tree54b585754618911250db8b96ae01d5a9fda2f495 /Makefile
parentadd man page (diff)
downloadunstickpixels-c35a027acf77cb6a6024228fe5ad0647594862fc.tar.gz
unstickpixels-c35a027acf77cb6a6024228fe5ad0647594862fc.tar.bz2
unstickpixels-c35a027acf77cb6a6024228fe5ad0647594862fc.tar.xz
new build system + add install file + add news file + add texinfo to deps
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to '')
-rw-r--r--Makefile44
-rw-r--r--Makefile.in92
2 files changed, 92 insertions, 44 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100644
index e10e472..0000000
--- a/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copying and distribution of this file, with or without modification,
-# are permitted in any medium without royalty provided the copyright
-# notice and this notice are preserved. This file is offered as-is,
-# without any warranty.
-
-PREFIX = /usr
-DATA = /share
-BIN = /bin
-PKGNAME = unstickpixels
-COMMAND = unstickpixels
-LICENSES = $(PREFIX)$(DATA)
-
-
-all: doc
-
-doc: info
-
-info: unstickpixels.info
-
-install: install-cmd install-license install-info
-
-install-cmd:
- install -dm755 "$(DESTDIR)$(PREFIX)$(BIN)"
- install -m755 unstickpixels "$(DESTDIR)$(PREFIX)$(BIN)/$(COMMAND)"
-
-install-license:
- install -dm755 "$(DESTDIR)$(LICENSES)/$(PKGNAME)"
- install -m644 COPYING LICENSE "$(DESTDIR)$(LICENSES)/$(PKGNAME)"
-
-install-info: unstickpixels.info.gz
- install -dm755 "$(DESTDIR)$(PREFIX)$(DATA)/info"
- install -m644 unstickpixels.info.gz "$(DESTDIR)$(PREFIX)$(DATA)/info/$(PKGNAME).info.gz"
-
-uninstall:
- -rm -- "$(DESTDIR)$(PREFIX)$(BIN)/$(COMMAND)"
- -rm -- "$(DESTDIR)$(LICENSES)/$(PKGNAME)/COPYING"
- -rm -- "$(DESTDIR)$(LICENSES)/$(PKGNAME)/LICENSE"
- -rmdir -- "$(DESTDIR)$(LICENSES)/$(PKGNAME)"
- -rm -- "$(DESTDIR)$(PREFIX)$(DATA)/info/$(PKGNAME).info.gz"
-
-.PHONY: clean
-clean:
- -rm -f unstickpixels.info.gz
-
diff --git a/Makefile.in b/Makefile.in
new file mode 100644
index 0000000..6d05299
--- /dev/null
+++ b/Makefile.in
@@ -0,0 +1,92 @@
+# Copyright (C) 2015 Mattias Andrée <maandree@member.fsf.org>
+#
+# Copying and distribution of this file, with or without modification,
+# are permitted in any medium without royalty provided the copyright
+# notice and this notice are preserved. This file is offered as-is,
+# without any warranty.
+
+
+### This file will be stored to Makefile once you have run ./configure. ###
+### See INSTALL for information on how to install this package. ###
+
+
+
+# List of man page translations to install.
+#MAN_LOCALES =
+
+# Can change these variables with ./configure in the same why you
+# would configure them when running make.
+
+
+
+##### What is below this line is configurable, but is seldom useful. #####
+
+
+# Additional options for compiling info and HTML manuals.
+INFO_FLAGS =
+
+# Additional options for compiling DVI, PDF, and PostScript manuals.
+TEXINFO_FLAGS =
+
+# The name of the command as it should be installed.
+COMMAND = unstickpixels
+
+# The name of the package as it should be installed.
+PKGNAME = unstickpixels
+
+
+
+##### Nothing interesting below this. #####
+
+
+# In case you want add some configurations. Primarily
+# intended for maintainers. Perhaps add GPG_KEY here.
+# Of course, you can declare everthing with ./configure,
+# but with this you are less likely to forget it.
+-include .make-configurations
+
+
+# YOU, AS A USER, SHOULD NOT CHANGE THESE VARIABLES. {{
+# They specify how the reusable makefiles in mk/ shall behave.
+
+# Package information.
+_PROJECT = unstickpixels
+_VERSION = 2
+
+# Used by mk/lang-c.mk
+_C_STD = c99
+_PEDANTIC = yes
+_BIN = unstickpixels
+_OBJ_unstickpixels = unstickpixels
+_HEADER_DIRLEVELS = 0
+_CPPFLAGS = -D'PACKAGE="$(PKGNAME)"' -D'PROGRAM_VERSION="$(_VERSION)"'
+_LDFLAGS = -lgamma
+
+# Used by mk/texinfo.mk
+_TEXINFO_DIRLEVELS = 2
+_INFOPARTS = 0
+_HAVE_TEXINFO_MANUAL = yes
+_HTML_FILES = Free-Software-Needs-Free-Documentation.html GNU-Free-Documentation-License.html \
+ GNU-General-Public-License.html index.html Invoking.html Overview.html
+
+# Used by mk/man.mk
+_MAN_PAGE_SECTIONS = 1
+_MAN_1 = unstickpixels
+
+# Used by mk/copy.mk
+_COPYING = COPYING
+
+# Used by mk/dist.mk
+___EVERYTHING_INFO = scrotty titlepage-data content hardcopy-copying \
+ appx/fdl appx/free-software-needs-free-documentation appx/gpl \
+ chap/invoking chap/overview \
+ reusable/macros reusable/paper reusable/titlepage
+_EVERYTHING = $(foreach F,$(___EVERYTHING_INFO),doc/info/$(F).texinfo) \
+ $(__EVERYTHING_ALL_COMMON) DEPENDENCIES INSTALL NEWS
+
+# }}
+
+
+# All of the make rules and the configurations.
+include $(v)mk/all.mk
+