Skip to content

Commit b1efcf2

Browse files
committed
Fix makefile
Made makefile reflect the name-change of builder/sct.gresource.xml
1 parent 34e87aa commit b1efcf2

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

Makefile.am

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,16 @@ bin_sshfs_connection_tool_CFLAGS = \
1717
-I$(top_srcdir)/include
1818

1919
EXTRA_DIST = \
20-
builder/main.ui \
21-
builder/menu.ui \
22-
builder/test.gresource.xml
23-
24-
src_resources = $(shell glib-compile-resources --sourcedir=$(top_srcdir)/builder --generate-dependencies $(top_srcdir)/builder/test.gresource.xml)
20+
builder
21+
dist-hook:
22+
rm -f `find $(top_distdir) -name '*~'`
23+
src_resources = $(shell glib-compile-resources --sourcedir=$(top_srcdir)/builder --generate-dependencies $(top_srcdir)/builder/sct.gresource.xml)
2524

2625
BUILT_SOURCES = \
2726
src/resources.c
2827

2928
CLEANFILES = \
3029
$(BUILT_SOURCES)
3130

32-
src/resources.c: $(top_srcdir)/builder/test.gresource.xml $(src_resources)
31+
src/resources.c: $(top_srcdir)/builder/sct.gresource.xml $(src_resources)
3332
glib-compile-resources --target=$(top_builddir)/$@ --sourcedir=$(top_srcdir)/builder --generate-source --c-name sshfs_connection_resources $<

0 commit comments

Comments
 (0)