summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2017-06-22 11:41:38 +0200
committerBastien Nocera <hadess@hadess.net>2017-06-22 11:57:32 +0200
commitc0b368bdf686de5322dc10dcf01b9e8c422d40a7 (patch)
tree9254fa66f51e0aad23a3367908495d0f9f275e98
parent56ca6f9f309e9c3330819d0f93bb4fb828324a8f (diff)
downloadnautilus-sendto-c0b368bdf686de5322dc10dcf01b9e8c422d40a7.tar.gz
build: Remove autotools
https://bugzilla.gnome.org/show_bug.cgi?id=784084
-rw-r--r--Makefile.am33
-rw-r--r--Makefile.decl53
-rwxr-xr-xautogen.sh23
-rw-r--r--configure.ac64
-rw-r--r--src/Makefile.am21
5 files changed, 0 insertions, 194 deletions
diff --git a/Makefile.am b/Makefile.am
deleted file mode 100644
index 99bd772..0000000
--- a/Makefile.am
+++ /dev/null
@@ -1,33 +0,0 @@
-ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
-
-SUBDIRS = src po
-
-man_MANS = nautilus-sendto.1
-
-EXTRA_DIST = \
- AUTHORS \
- NEWS \
- README \
- ChangeLog \
- ChangeLog.pre-1.1.4.1 \
- intltool-merge.in \
- intltool-update.in \
- intltool-extract.in \
- $(man_MANS) \
- $(schema_in_files)
-
-CLEANFILES = \
- $(schema_DATA)
-
-DISTCLEANFILES = \
- po/.intltool-merge-cache \
- intltool-extract \
- intltool-merge \
- intltool-update
-
-# Build ChangeLog from GIT history
-ChangeLog:
- @if test -f $(top_srcdir)/.git/HEAD; then \
- git log --stat --after="Fri Apr 17 16:36:52 2009" > $@; \
- fi
-
diff --git a/Makefile.decl b/Makefile.decl
deleted file mode 100644
index aab33c3..0000000
--- a/Makefile.decl
+++ /dev/null
@@ -1,53 +0,0 @@
-GTESTER = gtester # in $PATH for non-GLIB packages
-GTESTER_REPORT = gtester-report # in $PATH for non-GLIB packages
-
-# initialize variables for unconditional += appending
-TEST_PROGS =
-
-# test: run all tests in cwd and subdirs
-test: ${TEST_PROGS}
- @test -z "${TEST_PROGS}" || ${GTESTER} --verbose ${TEST_PROGS}
- @ for subdir in $(SUBDIRS) . ; do \
- test "$$subdir" = "." -o "$$subdir" = "po" || \
- ( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \
- done
-
-# test-report: run tests in subdirs and generate report
-# perf-report: run tests in subdirs with -m perf and generate report
-# full-report: like test-report: with -m perf and -m slow
-test-report perf-report full-report: ${TEST_PROGS}
- @test -z "${TEST_PROGS}" || { \
- case $@ in \
- test-report) test_options="-k";; \
- perf-report) test_options="-k -m=perf";; \
- full-report) test_options="-k -m=perf -m=slow";; \
- esac ; \
- if test -z "$$GTESTER_LOGDIR" ; then \
- ${GTESTER} --verbose $$test_options -o test-report.xml ${TEST_PROGS} ; \
- elif test -n "${TEST_PROGS}" ; then \
- ${GTESTER} --verbose $$test_options -o `mktemp "$$GTESTER_LOGDIR/log-XXXXXX"` ${TEST_PROGS} ; \
- fi ; \
- }
- @ ignore_logdir=true ; \
- if test -z "$$GTESTER_LOGDIR" ; then \
- GTESTER_LOGDIR=`mktemp -d "\`pwd\`/.testlogs-XXXXXX"`; export GTESTER_LOGDIR ; \
- ignore_logdir=false ; \
- fi ; \
- for subdir in $(SUBDIRS) . ; do \
- test "$$subdir" = "." -o "$$subdir" = "po" || \
- ( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \
- done ; \
- $$ignore_logdir || { \
- echo '<?xml version="1.0"?>' > $@.xml ; \
- echo '<report-collection>' >> $@.xml ; \
- for lf in `ls -L "$$GTESTER_LOGDIR"/.` ; do \
- sed '1,1s/^<?xml\b[^>?]*?>//' <"$$GTESTER_LOGDIR"/"$$lf" >> $@.xml ; \
- done ; \
- echo >> $@.xml ; \
- echo '</report-collection>' >> $@.xml ; \
- rm -rf "$$GTESTER_LOGDIR"/ ; \
- ${GTESTER_REPORT} --version 2>/dev/null 1>&2 ; test "$$?" != 0 || ${GTESTER_REPORT} $@.xml >$@.html ; \
- }
-.PHONY: test test-report perf-report full-report
-# run make test as part of make check
-check-local: test
diff --git a/autogen.sh b/autogen.sh
deleted file mode 100755
index cf818b9..0000000
--- a/autogen.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-# Run this to generate all the initial makefiles, etc.
-
-srcdir=`dirname $0`
-test -z "$srcdir" && srcdir=.
-
-olddir=`pwd`
-
-PKG_NAME="nautilus-sendto"
-
-(test -f $srcdir/configure.ac ) || {
- echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
- echo " top-level $PKG_NAME directory"
- exit 1
-}
-
-which gnome-autogen.sh || {
- echo "You need to install gnome-common from the GNOME CVS"
- exit 1
-}
-
-cd "$olddir"
-REQUIRED_AUTOMAKE_VERSION=1.9 USE_GNOME2_MACROS=1 . gnome-autogen.sh
diff --git a/configure.ac b/configure.ac
deleted file mode 100644
index 4416709..0000000
--- a/configure.ac
+++ /dev/null
@@ -1,64 +0,0 @@
-AC_PREREQ(2.52)
-
-AC_INIT([nautilus-sendto],
- [3.8.5],
- [https://bugzilla.gnome.org/enter_bug.cgi?product=nautilus-sendto],
- [nautilus-sendto])
-
-AC_CONFIG_HEADERS([config.h])
-AC_CONFIG_MACRO_DIR([m4])
-AC_CONFIG_AUX_DIR([build-aux])
-
-AM_INIT_AUTOMAKE([1.11 dist-xz no-dist-gzip check-news])
-
-# Enable silent build when available (Automake 1.11)
-m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
-
-AM_MAINTAINER_MODE
-
-# Check for programs
-AC_PROG_CC
-AC_PROG_INSTALL
-AC_PROG_MAKE_SET
-
-# Initialize libtool
-LT_INIT([disable-static])
-
-GLIB_GSETTINGS
-
-GNOME_DEBUG_CHECK
-GNOME_COMPILE_WARNINGS([maximum])
-GNOME_CXX_WARNINGS
-GNOME_MAINTAINER_MODE_DEFINES
-GOBJECT_INTROSPECTION_REQUIRE([0.6.7])
-
-ERROR_CFLAGS="-Wall -Wextra -Werror -Wno_missing_field_initializers -Wno_unused_parameter"
-
-dnl --------------------------------------------------
-
-GLIB_REQUIRED=2.25.9
-
-AC_SUBST(GLIB_REQUIRED)
-AC_SUBST(GTHREAD_REQUIRED)
-AC_SUBST(GTK_REQUIRED)
-
-PKG_CHECK_MODULES(NAUTILUS_SENDTO, \
- glib-2.0 >= $GLIB_REQUIRED \
- gio-2.0)
-AC_SUBST(NAUTILUS_SENDTO_CFLAGS)
-AC_SUBST(NAUTILUS_SENDTO_LIBS)
-
-IT_PROG_INTLTOOL([0.35.0])
-
-GETTEXT_PACKAGE=nautilus-sendto
-AC_SUBST(GETTEXT_PACKAGE)
-AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [GetText Package])
-
-AM_GLIB_GNU_GETTEXT
-
-AC_CONFIG_FILES([
-Makefile
-src/Makefile
-po/Makefile.in
-])
-AC_OUTPUT
diff --git a/src/Makefile.am b/src/Makefile.am
deleted file mode 100644
index bb9f257..0000000
--- a/src/Makefile.am
+++ /dev/null
@@ -1,21 +0,0 @@
-INCLUDES = \
- -I$(top_srcdir) \
- -I$(top_builddir) \
- -DLOCALEDIR="\"$(datadir)/locale\"" \
- $(NAUTILUS_SENDTO_CFLAGS) \
- $(DISABLE_DEPRECATED) \
- $(WARN_CFLAGS)
-
-bin_PROGRAMS = nautilus-sendto
-
-nautilus_sendto_SOURCES = nautilus-sendto.c
-nautilus_sendto_LDADD = $(NAUTILUS_SENDTO_LIBS)
-
-EXTRA_DIST = nautilus-sendto.metainfo.xml.in
-CLEANFILES = nautilus-sendto.metainfo.xml
-
-appstreamdir = $(datadir)/appdata
-appstream_in_files = nautilus-sendto.metainfo.xml.in
-appstream_DATA = $(appstream_in_files:.xml.in=.xml)
-
-@INTLTOOL_XML_RULE@